diff tomo_reconstruct.xml @ 7:845270a96464 draft

"planemo upload for repository https://github.com/rolfverberg/galaxytools commit a08ed1264ea7b7c878ba96801e4b27ef621fb6be"
author rv43
date Thu, 07 Apr 2022 21:09:58 +0000
parents f9c52762c32c
children 1bcca1f2adb4
line wrap: on
line diff
--- a/tomo_reconstruct.xml	Wed Apr 06 19:48:22 2022 +0000
+++ b/tomo_reconstruct.xml	Thu Apr 07 21:09:58 2022 +0000
@@ -1,9 +1,9 @@
 <tool id="tomo_reconstruct" name="Tomo Reconstruction" version="0.1.0" python_template_version="3.9">
     <description>Perform a tomography reconstruction</description>
-    <requirements>
-        <requirement type="package" version="1.11.0">tomopy</requirement>
-        <requirement type="package" version="3.6.0">h5py</requirement>
-    </requirements>
+    <macros>
+        <import>tomo_macros.xml</import>
+    </macros>
+    <expand macro="requirements" />
     <command detect_errors="exit_code"><![CDATA[
         $__tool_directory__/tomo_reconstruct.py
         -i '$red_stacks'
@@ -13,24 +13,15 @@
         -l '$log'
     ]]></command>
     <inputs>
+        <expand macro="common_inputs"/>
         <param name="red_stacks" type='data' format='npz' optional='false' label="Reduced stacks"/>
-        <param name="config" type='data' format='yaml' optional='false' label="Input config"/>
     </inputs>
     <outputs>
+        <expand macro="common_outputs"/>
         <data name="output_data" format="npz" label="Reconstructed tomography stacks" from_work_dir="output_data.npz"/>
-        <data name="output_config" format="yaml" label="Output config" from_work_dir="output_config.yaml"/>
-        <data name="log" format="txt" label="Log"/>
     </outputs>
     <help><![CDATA[
         Reconstruct tomography images.
     ]]></help>
-    <citations>
-        <citation type="bibtex">
-@misc{githubsum_files,
-  author = {Verberg, Rolf},
-  year = {2022},
-  title = {Tomo Reconstruction},
-}</citation>
-    </citations>
-
+    <expand macro="citations"/>
 </tool>