Mercurial > repos > bimib > cobraxy
comparison COBRAxy/custom_data_generator.xml @ 345:5725e5bcccf9 draft
Uploaded
| author | francesco_lapi |
|---|---|
| date | Thu, 04 Sep 2025 22:10:56 +0000 |
| parents | 7e703e546998 |
| children | d9c0524581c9 |
comparison
equal
deleted
inserted
replaced
| 344:eff58e727e4b | 345:5725e5bcccf9 |
|---|---|
| 12 </requirements> | 12 </requirements> |
| 13 | 13 |
| 14 <command detect_errors="exit_code"> | 14 <command detect_errors="exit_code"> |
| 15 <![CDATA[ | 15 <![CDATA[ |
| 16 python $__tool_directory__/custom_data_generator.py | 16 python $__tool_directory__/custom_data_generator.py |
| 17 --input $input | 17 --medium_selector $cond_medium.medium_selector |
| 18 --name $input.element_identifier | 18 --output_format $output_format |
| 19 #if $cond_model.model_selector == 'Custom_model' | |
| 20 --input $cond_model.input | |
| 21 --name $cond_model.name | |
| 22 #else | |
| 23 --model $cond_model.model_selector | |
| 24 --name $cond_model.model_selector | |
| 25 #end if | |
| 26 #if $cond_medium.medium_selector == 'Custom' | |
| 27 --medium $cond_medium.medium | |
| 28 #end if | |
| 19 --out_log $log | 29 --out_log $log |
| 20 --out_rules $rules | 30 --out_data $out_data |
| 21 --out_reactions $reactions | |
| 22 --out_bounds $bounds | |
| 23 --out_medium $medium | |
| 24 ]]> | 31 ]]> |
| 25 </command> | 32 </command> |
| 26 <inputs> | 33 <inputs> |
| 27 <param name="input" argument="--input" type="data" format="xml, json" label="Custom model:" /> | 34 <!-- modello --> |
| 28 <param name="name" argument="--name" type="text" label="Model's name:" value="Model" help="Default: Model" /> | 35 <conditional name="cond_model"> |
| 36 <expand macro="options_model"/> | |
| 37 <when value="Custom_model"> | |
| 38 <param name="input" argument="--input" type="data" format="json,xml" label="Custom model file:" /> | |
| 39 <param name="name" argument="--name" type="text" label="Model's name:" value="CustomModel" help="Default: CustomModel. Do not use spaces or special symbols." /> | |
| 40 </when> | |
| 41 </conditional> | |
| 42 | |
| 43 <!-- formato output --> | |
| 44 <param name="output_format" argument="--output_format" type="select" label="Output format:"> | |
| 45 <option value="tabular" selected="true">CSV (tabular)</option> | |
| 46 <option value="xlsx">Excel (.xlsx)</option> | |
| 47 </param> | |
| 48 | |
| 49 <!-- medium --> | |
| 50 <conditional name="cond_medium"> | |
| 51 <expand macro="options_ras_to_bounds_medium"/> | |
| 52 <when value="Custom"> | |
| 53 <param name="medium" argument="--medium" type="data" format="tabular,csv,tsv" label="Custom medium file:" /> | |
| 54 </when> | |
| 55 </conditional> | |
| 29 </inputs> | 56 </inputs> |
| 30 | 57 |
| 31 <outputs> | 58 <outputs> |
| 32 <data format="txt" name="log" label="${tool.name} - Log" /> | 59 <data name="log" format="txt" label="CustomDataGenerator - Log" /> |
| 33 <data format="tabular" name="rules" label="${name}_Rules" /> | 60 <data name="out_data" format="$output_format" label="${cond_model.model_selector}_data" /> |
| 34 <data format="tabular" name="reactions" label="${name}_Reactions" /> | |
| 35 <data format="tabular" name="bounds" label="${name}_Bounds" /> | |
| 36 <data format="tabular" name="medium" label="${name}_Medium" /> | |
| 37 </outputs> | 61 </outputs> |
| 38 | 62 |
| 39 <help> | 63 <help> |
| 40 <