comparison hexrd_fit_grains.xml @ 10:a35bda7ed678 draft default tip

"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/hexrd commit 082120888ad38a8e84b32834c698c374db6f0b0c-dirty"
author ximgchess
date Thu, 07 Jul 2022 01:53:44 +0000
parents baba452d0613
children
comparison
equal deleted inserted replaced
9:e67ad9795525 10:a35bda7ed678
28 <collection name="spots" type="list" label="${tool.name} on ${on_string}:spots"> 28 <collection name="spots" type="list" label="${tool.name} on ${on_string}:spots">
29 <discover_datasets pattern="(?P&lt;designation&gt;.+_spots.+\.out)" ext="tabular" directory="analysis"/> 29 <discover_datasets pattern="(?P&lt;designation&gt;.+_spots.+\.out)" ext="tabular" directory="analysis"/>
30 </collection> 30 </collection>
31 </outputs> 31 </outputs>
32 <tests> 32 <tests>
33 <!-- Test-1 single_GE -->
33 <test> 34 <test>
34 <param name="inputs" ftype="hexrd.iamges.npz" value="RUBY_0000-fc_GE.npz,RUBY_0001-fc_GE.npz,RUBY_0002-fc_GE.npz,RUBY_0003-fc_GE.npz,RUBY_0004-fc_GE.npz,RUBY_0005-fc_GE.npz"/> 35 <param name="analysis_name" value="ruby"/>
36 <param name="inputs" ftype="hexrd.images.npz" value="single_GE/RUBY_0000-fc_GE.npz,single_GE/RUBY_0001-fc_GE.npz,single_GE/RUBY_0002-fc_GE.npz,single_GE/RUBY_0003-fc_GE.npz,single_GE/RUBY_0004-fc_GE.npz,single_GE/RUBY_0005-fc_GE.npz"/>
35 <conditional name="detector"> 37 <conditional name="detector">
36 <param name="panel_assignment" value="infer_from_name"/> 38 <param name="panel_assignment" value="infer_from_name"/>
37 </conditional> 39 </conditional>
38 <param name="instrument" ftype="yaml" value="ge_detector.yml"/> 40 <param name="instrument" ftype="hexrd.yml" value="single_GE/ge_detector.yml"/>
39 <param name="material" ftype="hexrd.materials.h5" value="materials.h5"/> 41 <param name="material" ftype="hexrd.materials.h5" value="single_GE/materials.h5"/>
40 <param name="active_material" value="ruby"/> 42 <param name="active_material" value="ruby"/>
41 <param name="ome_map" ftype="hexrd.eta_ome.npz" value="analysis_ruby_eta-ome_maps.npz"/> 43 <param name="dmin" value="0.7"/>
42 <param name="accepted_orientations" ftype="tabular" value="accepted_orientations_analysis_ruby.dat"/> 44 <param name="tth_width" value="0.2"/>
43 <param name="grains_estimate" ftype="tabular" value="grains.out"/> 45 <param name="min_sfac_ratio" value="0.05"/>
46 <param name="ome_map" ftype="hexrd.eta_ome.npz" value="single_GE/analysis_ruby_eta-ome_maps.npz"/>
47 <param name="accepted_orientations" ftype="hexrd.accepted_orientations" value="single_GE/accepted_orientations_analysis_ruby.dat"/>
48 <param name="grains_estimate" ftype="tabular" value="single_GE/grains_estimate.out"/>
44 <param name="do_fit" value="true"/> 49 <param name="do_fit" value="true"/>
45 <param name="npdiv" value="2"/> 50 <param name="npdiv" value="2"/>
46 <param name="threshold" value="25"/> 51 <param name="threshold" value="25"/>
47 <section name="tolerance"> 52 <section name="tolerance">
48 <repeat name="tolerance_lists"> 53 <repeat name="tolerance_lists">
49 <param name="tth" value="0.25"/> 54 <param name="tth" value="0.25"/>
50 <param name="eta" value="3.0"/> 55 <param name="eta" value="3.0"/>
51 <param name="omega" value="2.0"/> 56 <param name="omega" value="2.0"/>
52 <param name="refit" value="1"/>
53 </repeat> 57 </repeat>
54 <repeat name="tolerance_lists"> 58 <repeat name="tolerance_lists">
55 <param name="tth" value="0.20"/> 59 <param name="tth" value="0.20"/>
56 <param name="eta" value="2.0"/> 60 <param name="eta" value="2.0"/>
57 <param name="omega" value="1.0"/> 61 <param name="omega" value="1.0"/>
58 <param name="refit" value="1"/>
59 </repeat> 62 </repeat>
63 <param name="refit" value="1,1"/>
60 <param name="tth_max" value="14.25"/> 64 <param name="tth_max" value="14.25"/>
61 </section> 65 </section>
62 <output name="grains"> 66 <output name="grains">
63 <assert_contents> 67 <assert_contents>
64 <has_text text="6.6655" /> 68 <has_text text="6.69" />
69 </assert_contents>
70 </output>
71 </test>
72 <!-- Test-2 multiruby_dexelas -->
73 <test>
74 <param name="analysis_name" value="ruby"/>
75 <param name="inputs" ftype="hexrd.images.npz" value="multiruby_dexelas/mruby-0129_000004_ff1_000012-cachefile.npz,multiruby_dexelas/mruby-0129_000004_ff2_000012-cachefile.npz"/>
76 <conditional name="detector">
77 <param name="panel_assignment" value="infer_from_name"/>
78 </conditional>
79 <param name="instrument" ftype="hexrd.yml" value="multiruby_dexelas/dexelas_id3a_20200130.yml"/>
80 <param name="material" ftype="hexrd.materials.h5" value="multiruby_dexelas/materials.h5"/>
81 <param name="active_material" value="ruby"/>
82 <param name="dmin" value="0.7"/>
83 <param name="tth_width" value="0.2"/>
84 <param name="min_sfac_ratio" value="0.05"/>
85 <param name="ome_map" ftype="hexrd.eta_ome.npz" value="multiruby_dexelas/mruby_monolithic_eta-ome_maps.npz"/>
86 <param name="accepted_orientations" ftype="hexrd.accepted_orientations" value="multiruby_dexelas/accepted_orientations_analysis_ruby.dat"/>
87 <param name="grains_estimate" ftype="tabular" value="multiruby_dexelas/grains_estimate.out"/>
88 <param name="do_fit" value="true"/>
89 <param name="npdiv" value="4"/>
90 <param name="threshold" value="25"/>
91 <section name="tolerance">
92 <repeat name="tolerance_lists">
93 <param name="tth" value="0.25"/>
94 <param name="eta" value="3.0"/>
95 <param name="omega" value="2.0"/>
96 </repeat>
97 <repeat name="tolerance_lists">
98 <param name="tth" value="0.20"/>
99 <param name="eta" value="2.0"/>
100 <param name="omega" value="1.0"/>
101 </repeat>
102 <param name="refit" value="3,1"/>
103 <param name="tth_max" value="true"/>
104 </section>
105 <output name="grains">
106 <assert_contents>
107 <has_text text="0.98" />
65 </assert_contents> 108 </assert_contents>
66 </output> 109 </output>
67 </test> 110 </test>
68 </tests> 111 </tests>
69 <help><![CDATA[ 112 <help><![CDATA[