Mercurial > repos > iuc > pcdl_make_cell_vtk
annotate pcdl_make_cell_vtk.xml @ 0:8e422141680e 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:55:36 +0000 |
| parents | |
| children |
| rev | line source |
|---|---|
|
0
8e422141680e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff
changeset
|
1 <tool id="pcdl_make_cell_vtk" name="pcdl_make_cell_vtk" version="3.0.1+galaxy0" profile="21.05"> |
|
8e422141680e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff
changeset
|
2 <macros> |
|
8e422141680e
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> |
|
8e422141680e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff
changeset
|
4 </macros> |
|
8e422141680e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff
changeset
|
5 <requirements> |
|
8e422141680e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff
changeset
|
6 <expand macro="requirement"/> |
|
8e422141680e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff
changeset
|
7 </requirements> |
|
8e422141680e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff
changeset
|
8 <command><![CDATA[ |
|
8e422141680e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff
changeset
|
9 #import re |
|
8e422141680e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff
changeset
|
10 mkdir output_pc && |
|
8e422141680e
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: |
|
8e422141680e
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)) |
|
8e422141680e
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 && |
|
8e422141680e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff
changeset
|
14 #end for |
|
8e422141680e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff
changeset
|
15 |
|
8e422141680e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff
changeset
|
16 pcdl_make_cell_vtk 'output_pc' '$attribute' |
|
8e422141680e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff
changeset
|
17 --custom_data_type $custom_data_type |
|
8e422141680e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff
changeset
|
18 --microenv $microenv |
|
8e422141680e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff
changeset
|
19 --physiboss $physiboss |
|
8e422141680e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff
changeset
|
20 --settingxml 'none' |
|
8e422141680e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff
changeset
|
21 --verbose $verbose |
|
8e422141680e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff
changeset
|
22 ]]></command> |
|
8e422141680e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff
changeset
|
23 <inputs> |
|
8e422141680e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff
changeset
|
24 <section name="essential" title="essential:" expanded="true"> |
|
8e422141680e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff
changeset
|
25 <expand macro="path"/> |
|
8e422141680e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff
changeset
|
26 <expand macro="attribute"/> |
|
8e422141680e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff
changeset
|
27 <expand macro="custom_data_type"/> |
|
8e422141680e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff
changeset
|
28 </section> |
|
8e422141680e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff
changeset
|
29 <section name="advanced" title="advanced:" expanded="false"> |
|
8e422141680e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff
changeset
|
30 <expand macro="microenv"/> |
|
8e422141680e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff
changeset
|
31 <expand macro="physiboss"/> |
|
8e422141680e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff
changeset
|
32 <expand macro="verbose"/> |
|
8e422141680e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff
changeset
|
33 </section> |
|
8e422141680e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff
changeset
|
34 </inputs> |
|
8e422141680e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff
changeset
|
35 <outputs> |
|
8e422141680e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff
changeset
|
36 <collection name="cell_vtk" type="list"> |
|
8e422141680e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff
changeset
|
37 <discover_datasets pattern="(?P<designation>.+_cell\.vtp)" format="vtkxml" directory="output_pc" visible="false"/> |
|
8e422141680e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff
changeset
|
38 </collection> |
|
8e422141680e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff
changeset
|
39 </outputs> |
|
8e422141680e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff
changeset
|
40 <tests> |
|
8e422141680e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff
changeset
|
41 <test expect_num_outputs="1"> |
|
8e422141680e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff
changeset
|
42 <section name="essential"> |
|
8e422141680e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff
changeset
|
43 <param name="path"> |
|
8e422141680e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff
changeset
|
44 <expand macro="output"/> |
|
8e422141680e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff
changeset
|
45 </param> |
|
8e422141680e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff
changeset
|
46 </section> |
|
8e422141680e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff
changeset
|
47 <section name="advanced"> |
|
8e422141680e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff
changeset
|
48 <param name="verbose" value="false"/> |
|
8e422141680e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff
changeset
|
49 </section> |
|
8e422141680e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff
changeset
|
50 <output_collection name="cell_vtk" count="2"> |
|
8e422141680e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff
changeset
|
51 <element name="output00000000_cell.vtp"> |
|
8e422141680e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff
changeset
|
52 <assert_contents> |
|
8e422141680e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff
changeset
|
53 <has_text text="VTKFile type="PolyData""/> |
|
8e422141680e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff
changeset
|
54 <has_text text="PolyData>"/> |
|
8e422141680e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff
changeset
|
55 <has_text text="VTKFile>"/> |
|
8e422141680e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff
changeset
|
56 </assert_contents> |
|
8e422141680e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff
changeset
|
57 </element> |
|
8e422141680e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff
changeset
|
58 <element name="output00000001_cell.vtp"> |
|
8e422141680e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff
changeset
|
59 <assert_contents> |
|
8e422141680e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff
changeset
|
60 <has_text text="VTKFile type="PolyData""/> |
|
8e422141680e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff
changeset
|
61 <has_text text="PolyData>"/> |
|
8e422141680e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff
changeset
|
62 <has_text text="VTKFile>"/> |
|
8e422141680e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff
changeset
|
63 </assert_contents> |
|
8e422141680e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff
changeset
|
64 </element> |
|
8e422141680e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff
changeset
|
65 </output_collection> |
|
8e422141680e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff
changeset
|
66 </test> |
|
8e422141680e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff
changeset
|
67 </tests> |
|
8e422141680e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff
changeset
|
68 <help><![CDATA[ |
|
8e422141680e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff
changeset
|
69 Function that generates 3D glyph vtk file for cells. Cells can have specified attributes like cell_type, pressure, dead, etc. You can post-process this file in other software like paraview (https://www.paraview.org/). |
|
8e422141680e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff
changeset
|
70 |
|
8e422141680e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff
changeset
|
71 Homepage: https://github.com/elmbeech/physicelldataloader |
|
8e422141680e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff
changeset
|
72 ]]></help> |
|
8e422141680e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff
changeset
|
73 <citations> |
|
8e422141680e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff
changeset
|
74 <expand macro="citation"/> |
|
8e422141680e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff
changeset
|
75 </citations> |
|
8e422141680e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
iuc
parents:
diff
changeset
|
76 </tool> |
