Mercurial > repos > iuc > pcdl_make_cell_vtk
comparison 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 |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:8e422141680e |
|---|---|
| 1 <tool id="pcdl_make_cell_vtk" name="pcdl_make_cell_vtk" 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_make_cell_vtk 'output_pc' '$attribute' | |
| 17 --custom_data_type $custom_data_type | |
| 18 --microenv $microenv | |
| 19 --physiboss $physiboss | |
| 20 --settingxml 'none' | |
| 21 --verbose $verbose | |
| 22 ]]></command> | |
| 23 <inputs> | |
| 24 <section name="essential" title="essential:" expanded="true"> | |
| 25 <expand macro="path"/> | |
| 26 <expand macro="attribute"/> | |
| 27 <expand macro="custom_data_type"/> | |
| 28 </section> | |
| 29 <section name="advanced" title="advanced:" expanded="false"> | |
| 30 <expand macro="microenv"/> | |
| 31 <expand macro="physiboss"/> | |
| 32 <expand macro="verbose"/> | |
| 33 </section> | |
| 34 </inputs> | |
| 35 <outputs> | |
| 36 <collection name="cell_vtk" type="list"> | |
| 37 <discover_datasets pattern="(?P<designation>.+_cell\.vtp)" format="vtkxml" directory="output_pc" visible="false"/> | |
| 38 </collection> | |
| 39 </outputs> | |
| 40 <tests> | |
| 41 <test expect_num_outputs="1"> | |
| 42 <section name="essential"> | |
| 43 <param name="path"> | |
| 44 <expand macro="output"/> | |
| 45 </param> | |
| 46 </section> | |
| 47 <section name="advanced"> | |
| 48 <param name="verbose" value="false"/> | |
| 49 </section> | |
| 50 <output_collection name="cell_vtk" count="2"> | |
| 51 <element name="output00000000_cell.vtp"> | |
| 52 <assert_contents> | |
| 53 <has_text text="VTKFile type="PolyData""/> | |
| 54 <has_text text="PolyData>"/> | |
| 55 <has_text text="VTKFile>"/> | |
| 56 </assert_contents> | |
| 57 </element> | |
| 58 <element name="output00000001_cell.vtp"> | |
| 59 <assert_contents> | |
| 60 <has_text text="VTKFile type="PolyData""/> | |
| 61 <has_text text="PolyData>"/> | |
| 62 <has_text text="VTKFile>"/> | |
| 63 </assert_contents> | |
| 64 </element> | |
| 65 </output_collection> | |
| 66 </test> | |
| 67 </tests> | |
| 68 <help><![CDATA[ | |
| 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/). | |
| 70 | |
| 71 Homepage: https://github.com/elmbeech/physicelldataloader | |
| 72 ]]></help> | |
| 73 <citations> | |
| 74 <expand macro="citation"/> | |
| 75 </citations> | |
| 76 </tool> |
