annotate pcdl_get_version.xml @ 0:2d2ef2e2d1e3 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:59:14 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
2d2ef2e2d1e3 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_version" name="pcdl_get_version" version="3.0.1+galaxy0" profile="21.05">
2d2ef2e2d1e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
2 <macros>
2d2ef2e2d1e3 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>
2d2ef2e2d1e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
4 </macros>
2d2ef2e2d1e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
5 <requirements>
2d2ef2e2d1e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
6 <expand macro="requirement"/>
2d2ef2e2d1e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
7 </requirements>
2d2ef2e2d1e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
8 <command><![CDATA[
2d2ef2e2d1e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
9 #import re
2d2ef2e2d1e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
10 mkdir output_pc &&
2d2ef2e2d1e3 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:
2d2ef2e2d1e3 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))
2d2ef2e2d1e3 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 &&
2d2ef2e2d1e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
14 #end for
2d2ef2e2d1e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
15
2d2ef2e2d1e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
16 pcdl_get_version 'output_pc'
2d2ef2e2d1e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
17 --verbose $verbose
2d2ef2e2d1e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
18 > '$version_txt'
2d2ef2e2d1e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
19 ]]></command>
2d2ef2e2d1e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
20 <inputs>
2d2ef2e2d1e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
21 <section name="essential" title="essential:" expanded="true">
2d2ef2e2d1e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
22 <expand macro="path"/>
2d2ef2e2d1e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
23 </section>
2d2ef2e2d1e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
24 <section name="advanced" title="advanced:" expanded="false">
2d2ef2e2d1e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
25 <expand macro="verbose"/>
2d2ef2e2d1e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
26 </section>
2d2ef2e2d1e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
27 </inputs>
2d2ef2e2d1e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
28 <outputs>
2d2ef2e2d1e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
29 <data name="version_txt" label="version_txt" format="txt"/>
2d2ef2e2d1e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
30 </outputs>
2d2ef2e2d1e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
31 <tests>
2d2ef2e2d1e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
32 <test expect_num_outputs="1">
2d2ef2e2d1e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
33 <section name="essential">
2d2ef2e2d1e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
34 <param name="path">
2d2ef2e2d1e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
35 <expand macro="output"/>
2d2ef2e2d1e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
36 </param>
2d2ef2e2d1e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
37 </section>
2d2ef2e2d1e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
38 <section name="advanced">
2d2ef2e2d1e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
39 <param name="verbose" value="true"/>
2d2ef2e2d1e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
40 </section>
2d2ef2e2d1e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
41 <output name="version_txt">
2d2ef2e2d1e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
42 <assert_contents>
2d2ef2e2d1e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
43 <has_text text="version:"/>
2d2ef2e2d1e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
44 </assert_contents>
2d2ef2e2d1e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
45 </output>
2d2ef2e2d1e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
46 </test>
2d2ef2e2d1e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
47 </tests>
2d2ef2e2d1e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
48 <help><![CDATA[
2d2ef2e2d1e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
49 This function is extracting PhysiCell and MultiCellDS version from the dataset and the installed pcdl module version.
2d2ef2e2d1e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
50
2d2ef2e2d1e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
51 Homepage: https://github.com/elmbeech/physicelldataloader
2d2ef2e2d1e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
52 ]]></help>
2d2ef2e2d1e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
53 <citations>
2d2ef2e2d1e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
54 <expand macro="citation"/>
2d2ef2e2d1e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
55 </citations>
2d2ef2e2d1e3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff changeset
56 </tool>