Mercurial > repos > iuc > pcdl_make_conc_vtk
comparison pcdl_make_conc_vtk.xml @ 0:0f6d33a7b252 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:56:00 +0000 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:0f6d33a7b252 |
|---|---|
| 1 <tool id="pcdl_make_conc_vtk" name="pcdl_make_conc_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_conc_vtk 'output_pc' | |
| 17 --verbose $verbose | |
| 18 ]]></command> | |
| 19 <inputs> | |
| 20 <section name="essential" title="essential:" expanded="true"> | |
| 21 <expand macro="path"/> | |
| 22 </section> | |
| 23 <section name="advanced" title="advanced:" expanded="false"> | |
| 24 <expand macro="verbose"/> | |
| 25 </section> | |
| 26 </inputs> | |
| 27 <outputs> | |
| 28 <collection name="conc_vtk" type="list"> | |
| 29 <discover_datasets pattern="(?P<designation>.+_conc\.vtr)" format="vtkxml" directory="output_pc" visible="false"/> | |
| 30 </collection> | |
| 31 </outputs> | |
| 32 <tests> | |
| 33 <test expect_num_outputs="1"> | |
| 34 <section name="essential"> | |
| 35 <param name="path"> | |
| 36 <expand macro="output"/> | |
| 37 </param> | |
| 38 </section> | |
| 39 <section name="advanced"> | |
| 40 <param name="verbose" value="false"/> | |
| 41 </section> | |
| 42 <output_collection name="conc_vtk" count="2"> | |
| 43 <element name="output00000000_conc.vtr"> | |
| 44 <assert_contents> | |
| 45 <has_text text="VTKFile type="RectilinearGrid""/> | |
| 46 <has_text text="RectilinearGrid"/> | |
| 47 <has_text text="VTKFile>"/> | |
| 48 </assert_contents> | |
| 49 </element> | |
| 50 <element name="output00000001_conc.vtr"> | |
| 51 <assert_contents> | |
| 52 <has_text text="VTKFile type="RectilinearGrid""/> | |
| 53 <has_text text="RectilinearGrid"/> | |
| 54 <has_text text="VTKFile>"/> | |
| 55 </assert_contents> | |
| 56 </element> | |
| 57 </output_collection> | |
| 58 </test> | |
| 59 </tests> | |
| 60 <help><![CDATA[ | |
| 61 Function generates rectilinear grid vtk files, one per mcds time step, contains distribution of substrates over microenvironment. You can post-process this files in other software like paraview (https://www.paraview.org/). | |
| 62 | |
| 63 Homepage: https://github.com/elmbeech/physicelldataloader | |
| 64 ]]></help> | |
| 65 <citations> | |
| 66 <expand macro="citation"/> | |
| 67 </citations> | |
| 68 </tool> |
