comparison wine_quality_predict.xml @ 2:4d31508e95c6 draft

planemo upload for repository https://forgemia.inra.fr/nathalie.rousse/use/-/tree/dnn/DNN/galaxy-tools/wine_quality_predict commit 58f66f614dc32b7550ac23e52d84248ddc802863-dirty
author siwaa
date Fri, 06 Dec 2024 19:17:19 +0000
parents f9637dc4e18a
children 01bf4f689614
comparison
equal deleted inserted replaced
1:f9637dc4e18a 2:4d31508e95c6
15 <environment_variables> 15 <environment_variables>
16 <environment_variable name="FIDLE_DATASETS_DIR">/fidle-tp/datasets-fidle</environment_variable> 16 <environment_variable name="FIDLE_DATASETS_DIR">/fidle-tp/datasets-fidle</environment_variable>
17 </environment_variables> 17 </environment_variables>
18 <command detect_errors="aggressive"> 18 <command detect_errors="aggressive">
19 <![CDATA[ 19 <![CDATA[
20 . /fidle-tp/fidle-env/bin/activate; 20
21 mkdir /fidle-tp/fidle-env/cache_dir; export TRANSFORMERS_CACHE=/fidle-tp/fidle-env/cache_dir; 21 bash -e -c "source /fidle-tp/fidle-env/bin/activate &&
22 mkdir /fidle-tp/fidle-env/mpl_dir; export MPLCONFIGDIR=/fidle-tp/fidle-env/mpl_dir; 22 mkdir datasets-fidle &&
23 /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}"; 23 export FIDLE_DATASETS_DIR=\$(realpath -s datasets-fidle) &&
24 cp OUTPUTS/report.json ${report_json}; 24 mkdir ipython_dir &&
25 export IPYTHONDIR=\$(realpath -s ipython_dir) &&
26 ipython profile create default &&
27 mkdir cache_dir &&
28 export TRANSFORMERS_CACHE=\$(realpath -s cache_dir) &&
29 mkdir mpl_dir &&
30 export MPLCONFIGDIR=\$(realpath -s mpl_dir) &&
31 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} &&
32 cp OUTPUTS/report.json ${report_json}"
25 ]]> 33 ]]>
26 </command> 34 </command>
27 35
28 <inputs> 36 <inputs>
29 <param name="data_json" optional="false" type="data" format="json" 37 <param name="data_json" optional="false" type="data" format="json"