Mercurial > repos > siwaa > wine_quality_predict
comparison wine_quality_predict.xml @ 0:605f9329d94e draft
planemo upload for repository https://forgemia.inra.fr/nathalie.rousse/use/-/tree/dnn/DNN/galaxy-tools/wine_quality_predict commit e7c4e447552083db7eaecbdf139a7c359fe9becc
author | siwaa |
---|---|
date | Wed, 04 Dec 2024 15:25:16 +0000 |
parents | |
children | f9637dc4e18a |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:605f9329d94e |
---|---|
1 <tool id="wine_quality_predict" name="wine_quality_predict" version="1.0.0"> | |
2 | |
3 <description>wine_quality_predict</description> | |
4 | |
5 <requirements> | |
6 | |
7 <!-- singularity --> | |
8 <container type="singularity">oras://registry.forgemia.inra.fr/nathalie.rousse/use/dnn_fidlemore:6d159f79349e231deadb738f79bd293c1a8dadd3</container> | |
9 | |
10 <!-- image locale | |
11 <container type="singularity">/home/nrousse/workspace_git/SIWAA_regroup/USE_branch_dnn/use/DNN/containers/fidlemore.simg</container --> | |
12 | |
13 </requirements> | |
14 | |
15 <environment_variables> | |
16 <environment_variable name="FIDLE_DATASETS_DIR">/fidle-tp/datasets-fidle</environment_variable> | |
17 </environment_variables> | |
18 <command detect_errors="aggressive"> | |
19 <![CDATA[ | |
20 . /fidle-tp/fidle-env/bin/activate; | |
21 /bin/bash -c "python3 /fidlemore/model_wine_lightning/wine_quality_predict.py -model_ckpt_filepath ${model_ckpt} -norm_config_json_filepath ${norm_config_json} -data_json_filepath ${data_json}"; | |
22 cp OUTPUTS/report.json ${report_json}; | |
23 ]]> | |
24 </command> | |
25 | |
26 <inputs> | |
27 <param name="data_json" optional="false" type="data" format="json" | |
28 label="File of data of wine whose quality to be predicted (.json)"/> | |
29 <param name="model_ckpt" optional="false" type="data" format="ckpt" | |
30 label="model_ckpt model file (.ckpt)"/> | |
31 <param name="norm_config_json" optional="false" type="data" format="json" | |
32 label="norm_config normalization configuration (.json)"/> | |
33 </inputs> | |
34 | |
35 <outputs> | |
36 <data format="json" name="report_json" label="report (.json)"/> | |
37 </outputs> | |
38 | |
39 <tests> | |
40 </tests> | |
41 | |
42 <help><![CDATA[ | |
43 | |
44 wine_quality_predict.xml | |
45 | |
46 =========================== | |
47 | |
48 Code: | |
49 | |
50 ---- | |
51 | |
52 - wine_quality_predict.py | |
53 | |
54 Inputs: | |
55 | |
56 ------- | |
57 | |
58 - data file (.json) : | |
59 File containing data of wine for which quality is going to be predicted. | |
60 | |
61 - Model file (.ckpt) | |
62 | |
63 - Normalization configuration file (.json) | |
64 | |
65 Outputs: | |
66 | |
67 -------- | |
68 | |
69 - Report file (.json) | |
70 | |
71 Credits: | |
72 | |
73 -------- | |
74 | |
75 - Author: Nathalie Rousse nathalie.rousse@inrae.fr | |
76 - Copyright: INRAE | |
77 | |
78 ]]> | |
79 </help> | |
80 | |
81 </tool> |