Skip to content

Commit

Permalink
Merge pull request #41 from goeckslab/Release_v3.3.2
Browse files Browse the repository at this point in the history
added single quotes to parms
  • Loading branch information
qchiujunhao authored Dec 13, 2024
2 parents 3f30992 + 5417318 commit 1f72b42
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions tools/pycaret_predict.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
<command>
<![CDATA[
echo $target_feature &&
python $__tool_directory__/pycaret_predict.py --model_path $input_model --data_path $input_dataset --task $model_type
python $__tool_directory__/pycaret_predict.py --model_path '$input_model' --data_path '$input_dataset' --task '$model_type'
#if $target_feature
--target $target_feature
--target '$target_feature'
#end if
]]>
</command>
Expand Down
14 changes: 7 additions & 7 deletions tools/pycaret_train.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,20 @@
<expand macro="python_requirements" />
<command>
<![CDATA[
python $__tool_directory__/pycaret_train.py --input_file $input_file --target_col $target_feature --output_dir . --random_seed $random_seed
python $__tool_directory__/pycaret_train.py --input_file '$input_file' --target_col '$target_feature' --output_dir '.' --random_seed '$random_seed'
#if $model_type == "classification"
#if $classification_models
--models $classification_models
--models '$classification_models'
#end if
#end if
#if $model_type == "regression"
#if $regression_models
--models $regression_models
--models '$regression_models'
#end if
#end if
#if $customize_defaults == "true"
#if $train_size
--train_size $train_size
--train_size '$train_size'
#end if
#if $normalize
--normalize
Expand All @@ -31,7 +31,7 @@
--cross_validation
#end if
#if $cross_validation_folds
--cross_validation_folds $cross_validation_folds
--cross_validation_folds '$cross_validation_folds'
#end if
#if $remove_outliers
--remove_outliers
Expand All @@ -47,9 +47,9 @@
#end if
#end if
#if $test_file
--test_file $test_file
--test_file '$test_file'
#end if
--model_type $model_type
--model_type '$model_type'
]]>
</command>
<inputs>
Expand Down

0 comments on commit 1f72b42

Please sign in to comment.