comparison pcdl_get_unit_dict.xml @ 0:24993ec6d174 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
author iuc
date Mon, 04 Aug 2025 18:57:08 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:24993ec6d174
1 <tool id="pcdl_get_unit_dict" name="pcdl_get_unit_dict" version="3.0.1+galaxy0" profile="21.05">
2 <macros>
3 <import>pcdl_macros.xml</import>
4 </macros>
5 <requirements>
6 <expand macro="requirement"/>
7 </requirements>
8 <command><![CDATA[
9 #import re
10 mkdir output_pc &&
11 #for $file in $path:
12 #set $filename = re.sub('[^\w\-\.\s]', '_', str($file.element_identifier))
13 ln -s '$file' output_pc/$filename &&
14 #end for
15
16 pcdl_get_unit_dict 'output_pc'
17 --microenv $microenv
18 --settingxml 'none'
19 --verbose $verbose
20 ]]></command>
21 <inputs>
22 <section name="essential" title="essential:" expanded="true">
23 <expand macro="path"/>
24 </section>
25 <section name="advanced" title="advanced:" expanded="false">
26 <expand macro="microenv"/>
27 <expand macro="verbose"/>
28 </section>
29 </inputs>
30 <outputs>
31 <collection name="timeseries_unit" type="list">
32 <discover_datasets pattern="(?P&lt;designation&gt;timeseries_unit)\.csv" format="csv" directory="output_pc" visible="false"/>
33 </collection>
34 </outputs>
35 <tests>
36 <test expect_num_outputs="1">
37 <section name="essential">
38 <param name="path">
39 <expand macro="output"/>
40 </param>
41 </section>
42 <section name="advanced">
43 <param name="verbose" value="true"/>
44 </section>
45 <output_collection name="timeseries_unit" count="1">
46 <element name="timeseries_unit">
47 <assert_contents>
48 <has_text text="attribute,unit"/>
49 </assert_contents>
50 </element>
51 </output_collection>
52 </test>
53 </tests>
54 <help><![CDATA[
55 Function returns a csv that lists all tracked variables from metadata, cell, and microenvironment and maps them to their unit.
56
57 Homepage: https://github.com/elmbeech/physicelldataloader
58 ]]></help>
59 <citations>
60 <expand macro="citation"/>
61 </citations>
62 </tool>