Skip to content

Commit

Permalink
Update biobb_train_mdae.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
PauAndrio authored Jul 8, 2024
1 parent 2b562df commit 021d2ea
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions tools/biobb_pytorch/biobb_train_mdae.xml
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
<tool id="biobb_pytorch_train_mdae" name="TrainMdae" version="@TOOL_VERSION@" profile="22.05">
<description>Train a Molecular Dynamics AutoEncoder (MDAE) PyTorch model</description>
<description>Train a Molecular Dynamics AutoEncoder (MDAE) PyTorch model.</description>
<macros>
<token name="@TOOL_VERSION@">4.2.1</token>
</macros>

<requirements>
<requirement type="package" version="@TOOL_VERSION@">biobb_pytorch</requirement>
</requirements>

<command detect_errors="exit_code"><![CDATA[
ln -s $input_train_npy_path ./input_train_npy_path.$input_train_npy_path.ext;
ln -s '$input_train_npy_path' ./input_train_npy_path.$input_train_npy_path.ext &&
#if $input_model_pth_path:
ln -s $input_model_pth_path ./input_model_pth_path.$input_model_pth_path.ext;
ln -s '$input_model_pth_path' ./input_model_pth_path.$input_model_pth_path.ext &&
#end if
#if $config_json:
ln -s $config_json ./config_json.$config_json.ext;
ln -s '$config_json' ./config_json.$config_json.ext &&
#end if
train_mdae
Expand All @@ -36,9 +37,9 @@
#end if
;
mv $outname_output_model_pth_path $output_model_pth_path;
if test -f $outname_output_train_data_npz_path; then mv $outname_output_train_data_npz_path $output_train_data_npz_path; fi;
if test -f $outname_output_performance_npz_path; then mv $outname_output_performance_npz_path $output_performance_npz_path; fi;
mv '$outname_output_model_pth_path' '$output_model_pth_path' &&
if test -f '$outname_output_train_data_npz_path'; then mv '$outname_output_train_data_npz_path' '$output_train_data_npz_path'; fi;
if test -f '$outname_output_performance_npz_path'; then mv '$outname_output_performance_npz_path' '$output_performance_npz_path'; fi;
]]>
</command>
Expand Down Expand Up @@ -110,4 +111,4 @@ Check the syntax for the tool parameters at the original library documentation:
</citation>
<citation type="doi">10.1038/s41597-019-0177-4</citation>
</citations>
</tool>
</tool>

0 comments on commit 021d2ea

Please sign in to comment.