comparison 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
comparison
equal deleted inserted replaced
-1:000000000000 0:2d2ef2e2d1e3
1 <tool id="pcdl_get_version" name="pcdl_get_version" 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_version 'output_pc'
17 --verbose $verbose
18 > '$version_txt'
19 ]]></command>
20 <inputs>
21 <section name="essential" title="essential:" expanded="true">
22 <expand macro="path"/>
23 </section>
24 <section name="advanced" title="advanced:" expanded="false">
25 <expand macro="verbose"/>
26 </section>
27 </inputs>
28 <outputs>
29 <data name="version_txt" label="version_txt" format="txt"/>
30 </outputs>
31 <tests>
32 <test expect_num_outputs="1">
33 <section name="essential">
34 <param name="path">
35 <expand macro="output"/>
36 </param>
37 </section>
38 <section name="advanced">
39 <param name="verbose" value="true"/>
40 </section>
41 <output name="version_txt">
42 <assert_contents>
43 <has_text text="version:"/>
44 </assert_contents>
45 </output>
46 </test>
47 </tests>
48 <help><![CDATA[
49 This function is extracting PhysiCell and MultiCellDS version from the dataset and the installed pcdl module version.
50
51 Homepage: https://github.com/elmbeech/physicelldataloader
52 ]]></help>
53 <citations>
54 <expand macro="citation"/>
55 </citations>
56 </tool>