comparison hedm_npz_to_tesr.xml @ 1:e90d5493a744 draft default tip

"planemo upload for repository https://github.com/ximg-chess/galaxytools/tools/hedm_npz_to_tesr commit f763b826a9f29b649e0d24b3d7765b292f26e2fa"
author ximgchess
date Thu, 07 Jul 2022 18:47:53 +0000
parents bd74229f61e8
children
comparison
equal deleted inserted replaced
0:bd74229f61e8 1:e90d5493a744
1 <tool id="hedm_npz_to_tesr" name="HEDM to tesr" version="0.1.0" python_template_version="3.5"> 1 <tool id="hedm_npz_to_tesr" name="HEDM to tesr" version="1.0.0" python_template_version="3.5">
2 <description>Convert HEDM npz to a Neper tesr</description> 2 <description>Convert HEDM npz to a Neper tesr</description>
3 <requirements> 3 <requirements>
4 <requirement type="package" version="1.19">numpy</requirement> 4 <requirement type="package" version="1.19">numpy</requirement>
5 </requirements> 5 </requirements>
6 <command detect_errors="exit_code"><![CDATA[ 6 <command detect_errors="exit_code"><![CDATA[
21 '$input' 21 '$input'
22 '$output' 22 '$output'
23 ]]></command> 23 ]]></command>
24 <inputs> 24 <inputs>
25 <!-- change format to approriate npz subclass when available --> 25 <!-- change format to approriate npz subclass when available -->
26 <param name="input" type="data" format="zip" label="HEDM npz file"/> 26 <param name="input" type="data" format="npz" label="HEDM npz file"/>
27 <param name="voxel_spacing" type="float" value="0.005" min="0" label="Voxel spacing"/> 27 <param name="voxel_spacing" type="float" value="0.005" min="0" label="Voxel spacing"/>
28 <section name="names" expanded="false" title="Specify names used in HEDM.npz input file"> 28 <section name="names" expanded="false" title="Specify names used in HEDM.npz input file">
29 <param name="x_name" type="text" value="" label="Name of the X array in the input" optional="true" help="Deafault is a name containing 'X'"/> 29 <param name="x_name" type="text" value="" label="Name of the X array in the input" optional="true" help="Default is a name containing 'X'"/>
30 <param name="y_name" type="text" value="" label="Name of the Y array in the input" optional="true" help="Deafault is a name containing 'Y'"/> 30 <param name="y_name" type="text" value="" label="Name of the Y array in the input" optional="true" help="Default is a name containing 'Y'"/>
31 <param name="z_name" type="text" value="" label="Name of the Z array in the input" optional="true" help="Deafault is a name containing 'Z'"/> 31 <param name="z_name" type="text" value="" label="Name of the Z array in the input" optional="true" help="Default is a name containing 'Z'"/>
32 <param name="grain_map" type="text" value="" label="Name of the grain map in the input" optional="true" help="Deafault is a name containing 'grain'"/> 32 <param name="grain_map" type="text" value="" label="Name of the grain map in the input" optional="true" help="Default is a name containing 'grain'"/>
33 </section> 33 </section>
34 </inputs> 34 </inputs>
35 <outputs> 35 <outputs>
36 <!-- output format should be changed to tesr when that is available --> 36 <!-- output format should be changed to tesr when that is available -->
37 <data name="output" format="txt" label="${input.name.rsplit(sep='.',maxsplit=1)[0]}.tesr"/> 37 <data name="output" format="neper.tesr" label="${input.name.rsplit(sep='.',maxsplit=1)[0]}.tesr"/>
38 </outputs> 38 </outputs>
39 <tests> 39 <tests>
40 <test> 40 <test>
41 <!-- change format to approriate npz subclass when available --> 41 <!-- change format to approriate npz subclass when available -->
42 <param name="input" ftype="zip" value="HEDM_map.npz"/> 42 <param name="input" ftype="npz" value="HEDM_map.npz"/>
43 <output name="output" file="HEDM_map.tesr"/> 43 <output name="output" file="HEDM_map.tesr"/>
44 </test> 44 </test>
45 </tests> 45 </tests>
46 <help><![CDATA[ 46 <help><![CDATA[
47 Create a neper compatible tesr format file from a HEDM numpy compressed file. 47 Create a neper compatible tesr format file from a HEDM numpy compressed file.