comparison tomo/tomo_reduce.xml @ 5:47a0648cdfd1 draft

planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 3e8c1c54d5e12fdbc4f6c5cdae88b6d054db7c45
author ximgchess
date Wed, 12 Apr 2023 10:28:06 +0000
parents ed26d2bb9723
children 39bdb54c661d
comparison
equal deleted inserted replaced
4:ed26d2bb9723 5:47a0648cdfd1
4 <import>tomo_macros.xml</import> 4 <import>tomo_macros.xml</import>
5 </macros> 5 </macros>
6 <expand macro="requirements"/> 6 <expand macro="requirements"/>
7 <command detect_errors="exit_code"> 7 <command detect_errors="exit_code">
8 <![CDATA[ 8 <![CDATA[
9 mkdir tomo_reduce_plots; 9 cp '$input_file' output.yaml
10 pip --exists-action i install certif-pyspec==1.5.3 &&
11 #if str($map.type_selector) == "YAML"
12 cp '$input_file' map.yaml &&
13 #else
14 cp '$input_file' setup.nex &&
15 #end if
16 cp '$tool_config' reduce.yaml &&
17 CHAP --config
18 #if str($map.type_selector) == "YAML"
19 '$__tool_directory__/pipeline_reduce_yaml.yaml'
20 #else
21 '$__tool_directory__/pipeline_reduce_nexus.yaml'
22 #end if
23 ]]> 10 ]]>
24 </command> 11 </command>
25 <configfiles> 12 <configfiles>
26 <configfile name="tool_config"> 13 <configfile name="tool_config">
27 <![CDATA[#slurp 14 <![CDATA[#slurp
73 <param name="upp" type="integer" value="-1" optional="false" label="Upper image range index"/> 60 <param name="upp" type="integer" value="-1" optional="false" label="Upper image range index"/>
74 </when> 61 </when>
75 </conditional> 62 </conditional>
76 </inputs> 63 </inputs>
77 <outputs> 64 <outputs>
65 <!--
78 <data name="tool_config" format="yaml" label="Tool config" from_work_dir="reduce.yaml" hidden="false"/> 66 <data name="tool_config" format="yaml" label="Tool config" from_work_dir="reduce.yaml" hidden="false"/>
79 <collection name="tomo_reduce_plots" type="list" label="Data reduction images"> 67 <collection name="tomo_reduce_plots" type="list" label="Data reduction images">
80 <discover_datasets pattern="__name_and_ext__" directory="tomo_reduce_plots"/> 68 <discover_datasets pattern="__name_and_ext__" directory="tomo_reduce_plots"/>
81 </collection> 69 </collection>
82 <data name="output_file" format="nex" label="Reduced tomography data" from_work_dir="output.nex"/> 70 <data name="output_file" format="nex" label="Reduced tomography data" from_work_dir="output.nex"/>
71 -->
72 <data name="output_file" format="yaml" label="Test output" from_work_dir="output.yaml"/>
83 </outputs> 73 </outputs>
84 <help> 74 <help>
85 <![CDATA[ 75 <![CDATA[
86 usage: PROG [-h] [--config CONFIG] [--verbose] 76 usage: PROG [-h] [--config CONFIG] [--verbose]
87 77