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