changeset 1:2e19f9c23925 draft

planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools/astropytools commit fc50bfef893e657560ba05e00858f53a53fbe2f0
author astroteam
date Fri, 25 Apr 2025 08:39:04 +0000
parents be9ce7d4ccbf
children 806a3fff2769
files fitsinfo.xml generate_cmaps.py test-data/legacysurvey_image.png
diffstat 3 files changed, 3 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/fitsinfo.xml	Thu Jun 22 19:39:31 2023 +0000
+++ b/fitsinfo.xml	Fri Apr 25 08:39:04 2025 +0000
@@ -1,6 +1,6 @@
-<tool id="astropy_fitsinfo" name="astropy fitsinfo" version="0.1.0+galaxy0" profile="21.05">
+<tool id="astropy_fitsinfo" name="astropy fitsinfo" version="0.2.0+galaxy0" profile="21.05">
     <requirements>
-        <requirement type="package" version="5.2.2">astropy</requirement>
+        <requirement type="package" version="6.1.7">astropy</requirement>
     </requirements>
     <command detect_errors="exit_code"><![CDATA[
         fitsinfo '$input' | grep -vi filename > '$output' 
@@ -9,7 +9,7 @@
         <param type="data" name="input" format="fits" label="FITS file to inspect"/>
     </inputs>
     <outputs>
-        <data name="output" format="out" />
+        <data name="output" format="txt" />
     </outputs>
     <tests>
         <test>
--- a/generate_cmaps.py	Thu Jun 22 19:39:31 2023 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-from matplotlib import pyplot as plt
-
-cmaps = sorted(m for m in plt.cm.datad if not m.endswith("_r"))
-
-print("\n".join([f'<option value="{cm}">{cm}</option>' for cm in cmaps]))
Binary file test-data/legacysurvey_image.png has changed