Mercurial > repos > greg > icqsol_compose_shapes
comparison icqsol_macros.xml @ 0:36f5fa5bd6d9 draft
Uploaded
| author | greg |
|---|---|
| date | Sat, 14 Nov 2015 14:06:46 -0500 |
| parents | |
| children | bf1701bdc261 |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:36f5fa5bd6d9 |
|---|---|
| 1 <?xml version='1.0' encoding='UTF-8'?> | |
| 2 <macros> | |
| 3 <xml name="requirements"> | |
| 4 <requirements> | |
| 5 <requirement type="package" version="1.0">icqsol</requirement> | |
| 6 </requirements> | |
| 7 </xml> | |
| 8 <xml name="stdio"> | |
| 9 <stdio> | |
| 10 <exit_code range="1:"/> | |
| 11 <exit_code range=":-1"/> | |
| 12 <regex match="Error:"/> | |
| 13 <regex match="Exception:"/> | |
| 14 </stdio> | |
| 15 </xml> | |
| 16 <!-- TODO: place this in colormaps_conf.xml --> | |
| 17 <xml name="color_map_param"> | |
| 18 <param name="color_map" type="select" label="Color map"> | |
| 19 <option value="hot" selected="True">Hot</option> | |
| 20 <option value="cold">Cold</option> | |
| 21 <option value="blackbody">Blackbody</option> | |
| 22 <option value="gnu">Gnu</option> | |
| 23 </param> | |
| 24 </xml> | |
| 25 <xml name="output_vtk_type_params"> | |
| 26 <param name="output_vtk_type" type="select" label="Output file type"> | |
| 27 <option value="vtkascii" selected="True">Vtk-ascii</option> | |
| 28 <option value="vtkbinary">Vtk-binary</option> | |
| 29 </param> | |
| 30 </xml> | |
| 31 <token name="@origin_cmd_args@"> | |
| 32 --origin_x $create_process_cond.shape_cond.origin_x | |
| 33 --origin_y $create_process_cond.shape_cond.origin_y | |
| 34 --origin_z $create_process_cond.shape_cond.origin_z | |
| 35 </token> | |
| 36 <xml name="origin_params"> | |
| 37 <param name="origin_x" type="float" value="0.0" label="X coordinate of origin" help="Floating point number"/> | |
| 38 <param name="origin_y" type="float" value="0.0" label="Y coordinate of origin" help="Floating point number"/> | |
| 39 <param name="origin_z" type="float" value="0.0" label="Z coordinate of origin" help="Floating point number"/> | |
| 40 </xml> | |
| 41 <token name="@lengths_cmd_args@"> | |
| 42 --length_x $create_process_cond.shape_cond.length_x | |
| 43 --length_y $create_process_cond.shape_cond.length_y | |
| 44 --length_z $create_process_cond.shape_cond.length_z | |
| 45 </token> | |
| 46 <xml name="lengths_params"> | |
| 47 <!-- At least one of these lengths must be greater than zero, but we have no validator for this. --> | |
| 48 <param name="length_x" type="float" value="1.0" label="Length in the X direction" help="Floating point number"> | |
| 49 <validator type="in_range" min="0" exclude_min="false" /> | |
| 50 </param> | |
| 51 <param name="length_y" type="float" value="0.0" label="Length in the Y direction" help="Floating point number"> | |
| 52 <validator type="in_range" min="0" exclude_min="false" /> | |
| 53 </param> | |
| 54 <param name="length_z" type="float" value="0.0" label="Length in the Z direction" help="Floating point number"> | |
| 55 <validator type="in_range" min="0" exclude_min="false" /> | |
| 56 </param> | |
| 57 </xml> | |
| 58 <xml name="lengths_exclude_min_params"> | |
| 59 <param name="length_x" type="float" value="1.0" label="Length in the X direction" help="Floating point number"> | |
| 60 <validator type="in_range" min="0" exclude_min="true" /> | |
| 61 </param> | |
| 62 <param name="length_y" type="float" value="1.0" label="Length in the Y direction" help="Floating point number"> | |
| 63 <validator type="in_range" min="0" exclude_min="true" /> | |
| 64 </param> | |
| 65 <param name="length_z" type="float" value="1.0" label="Length in the Z direction" help="Floating point number"> | |
| 66 <validator type="in_range" min="0" exclude_min="true" /> | |
| 67 </param> | |
| 68 </xml> | |
| 69 <token name="@radius_cmd_args@"> | |
| 70 --radius $create_process_cond.shape_cond.radius | |
| 71 </token> | |
| 72 <xml name="radius_params"> | |
| 73 <param name="radius" type="float" value="1.0" label="Radius" help="Floating point number"> | |
| 74 <validator type="in_range" min="0" exclude_min="True" /> | |
| 75 </param> | |
| 76 </xml> | |
| 77 <token name="@n_theta_cmd_args@"> | |
| 78 --n_theta $create_process_cond.shape_cond.n_theta | |
| 79 </token> | |
| 80 <xml name="n_theta_params"> | |
| 81 <param name="n_theta" type="integer" value="16" label="Number of slices" help="Controls the tessellation along the longitude direction"> | |
| 82 <validator type="in_range" min="0" exclude_min="False" /> | |
| 83 </param> | |
| 84 </xml> | |
| 85 <token name="@n_phi_cmd_args@"> | |
| 86 --n_phi $create_process_cond.shape_cond.n_phi | |
| 87 </token> | |
| 88 <xml name="n_phi_params"> | |
| 89 <param name="n_phi" type="integer" value="8" label="Number of stacks" help="Controls the tessellation along the latitude direction"> | |
| 90 <validator type="in_range" min="0" exclude_min="False" /> | |
| 91 </param> | |
| 92 </xml> | |
| 93 <xml name="citations"> | |
| 94 <citations> | |
| 95 <citation type="bibtex"> | |
| 96 @unpublished{None, | |
| 97 author = {None}, | |
| 98 title = {None}, | |
| 99 year = {None}, | |
| 100 eprint = {None}, | |
| 101 url = {https://github.com/gregvonkuster/galaxy-csg} | |
| 102 }</citation> | |
| 103 <citation type="bibtex"> | |
| 104 @misc(Schroeder-Martin-Lorensen2006, | |
| 105 author = "Will Schroeder and | |
| 106 Ken Martin and | |
| 107 Bill Lorensen", | |
| 108 year = "2006", | |
| 109 title = "The Visualization Toolkit (4th ed.)", | |
| 110 publisher = "Kitware", | |
| 111 url = "https://en.wikipedia.org/wiki/Special:BookSources/978-1-930934-19-1") | |
| 112 </citation> | |
| 113 </citations> | |
| 114 </xml> | |
| 115 </macros> |
