Mercurial > repos > muon-spectroscopy-computational-project > larch_plot
comparison larch_plot.xml @ 4:35d24102cefd draft
planemo upload for repository https://github.com/MaterialsGalaxy/larch-tools/tree/main/larch_plot commit 3fe6078868efd0fcea0fb5eea8dcd4b152d9c0a8
author | muon-spectroscopy-computational-project |
---|---|
date | Thu, 11 Apr 2024 09:02:24 +0000 |
parents | 5b993aff09e3 |
children | 3584db5902b5 |
comparison
equal
deleted
inserted
replaced
3:5b993aff09e3 | 4:35d24102cefd |
---|---|
1 <tool id="larch_plot" name="Larch Plot" version="@TOOL_VERSION@+galaxy@WRAPPER_VERSION@" python_template_version="3.5" profile="22.05" license="MIT"> | 1 <tool id="larch_plot" name="Larch Plot" version="@TOOL_VERSION@+galaxy@WRAPPER_VERSION@" python_template_version="3.5" profile="22.05" license="MIT"> |
2 <description>plot Athena projects</description> | 2 <description>plot Athena projects</description> |
3 <macros> | 3 <macros> |
4 <!-- version of underlying tool (PEP 440) --> | 4 <!-- version of underlying tool (PEP 440) --> |
5 <token name="@TOOL_VERSION@">0.9.74</token> | 5 <token name="@TOOL_VERSION@">0.9.75</token> |
6 <!-- version of this tool wrapper (integer) --> | 6 <!-- version of this tool wrapper (integer) --> |
7 <token name="@WRAPPER_VERSION@">1</token> | 7 <token name="@WRAPPER_VERSION@">0</token> |
8 <!-- citation should be updated with every underlying tool version --> | 8 <!-- citation should be updated with every underlying tool version --> |
9 <!-- typical fields to update are version, month, year, and doi --> | 9 <!-- typical fields to update are version, month, year, and doi --> |
10 <token name="@TOOL_CITATION@">10.1088/1742-6596/430/1/012007</token> | 10 <token name="@TOOL_CITATION@">10.1088/1742-6596/430/1/012007</token> |
11 <import>macros.xml</import> | 11 <import>macros.xml</import> |
12 </macros> | 12 </macros> |
34 <conditional name="variable"> | 34 <conditional name="variable"> |
35 <param name="variable" type="select" display="radio" label="Variable" help="Variable to plot on the y axis"> | 35 <param name="variable" type="select" display="radio" label="Variable" help="Variable to plot on the y axis"> |
36 <option value="flat" selected="true">Flattened xμ</option> | 36 <option value="flat" selected="true">Flattened xμ</option> |
37 <option value="dmude">Derivative of xμ</option> | 37 <option value="dmude">Derivative of xμ</option> |
38 <option value="chir_mag">Magnitude of χ(r)</option> | 38 <option value="chir_mag">Magnitude of χ(r)</option> |
39 <option value="e0">E0</option> | |
39 </param> | 40 </param> |
40 <when value="flat"> | 41 <when value="flat"> |
41 <expand macro="plot_limits_energy"/> | 42 <expand macro="plot_limits_energy"/> |
42 <param name="y_limit_min" type="float" label="Minimum xμ(E)" optional="true" help="If set, plot will be limited to this value on the y axis."/> | 43 <param name="y_limit_min" type="float" label="Minimum xμ(E)" optional="true" help="If set, plot will be limited to this value on the y axis."/> |
43 <param name="y_limit_max" type="float" label="Maximum xμ(E)" optional="true" help="If set, plot will be limited to this value on the y axis."/> | 44 <param name="y_limit_max" type="float" label="Maximum xμ(E)" optional="true" help="If set, plot will be limited to this value on the y axis."/> |
51 <param name="x_limit_min" type="float" label="Minimum r (ang)" optional="true" help="If set, plot will be limited to this value on the x axis."/> | 52 <param name="x_limit_min" type="float" label="Minimum r (ang)" optional="true" help="If set, plot will be limited to this value on the x axis."/> |
52 <param name="x_limit_max" type="float" label="Maximum r (ang)" optional="true" help="If set, plot will be limited to this value on the x axis."/> | 53 <param name="x_limit_max" type="float" label="Maximum r (ang)" optional="true" help="If set, plot will be limited to this value on the x axis."/> |
53 <param name="y_limit_min" type="float" label="Minimum |χ(r)|" optional="true" help="If set, plot will be limited to this value on the y axis."/> | 54 <param name="y_limit_min" type="float" label="Minimum |χ(r)|" optional="true" help="If set, plot will be limited to this value on the y axis."/> |
54 <param name="y_limit_max" type="float" label="Maximum |χ(r)|" optional="true" help="If set, plot will be limited to this value on the y axis."/> | 55 <param name="y_limit_max" type="float" label="Maximum |χ(r)|" optional="true" help="If set, plot will be limited to this value on the y axis."/> |
55 </when> | 56 </when> |
57 <when value="e0"> | |
58 </when> | |
56 </conditional> | 59 </conditional> |
57 </repeat> | 60 </repeat> |
58 </inputs> | 61 </inputs> |
59 <outputs> | 62 <outputs> |
60 <collection name="plot_collection" format="png" type="list"> | 63 <collection name="plot_collection" format="png" type="list"> |
66 <test expect_num_outputs="1"> | 69 <test expect_num_outputs="1"> |
67 <param name="dat_files" value="test.prj"/> | 70 <param name="dat_files" value="test.prj"/> |
68 <param name="variable" value="flat"/> | 71 <param name="variable" value="flat"/> |
69 <param name="variable" value="dmude"/> | 72 <param name="variable" value="dmude"/> |
70 <param name="variable" value="chir_mag"/> | 73 <param name="variable" value="chir_mag"/> |
71 <output_collection name="plot_collection" type="list" count="3"/> | 74 <param name="variable" value="e0"/> |
75 <output_collection name="plot_collection" type="list" count="4"/> | |
72 </test> | 76 </test> |
73 <!-- 2: plot limits --> | 77 <!-- 2: plot limits --> |
74 <test expect_num_outputs="1"> | 78 <test expect_num_outputs="1"> |
75 <param name="dat_files" value="test.prj,merged.prj"/> | 79 <param name="dat_files" value="test.prj,merged.prj"/> |
76 <param name="variable" value="flat"/> | 80 <param name="variable" value="flat"/> |