Skip to content

Commit

Permalink
Adjust bash script test_example.sh and test_example_source_only.sh (S…
Browse files Browse the repository at this point in the history
…EACrowd#171)

* update: adjust test_example.sh and test_example_source_only.sh

* fix: minor error message when dataset is empty
  • Loading branch information
muhsatrio authored and zwenyu committed Mar 14, 2024
1 parent eaab037 commit 9a3903b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test_example.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
if [[ "$1" == "" ]]; then
echo "Error: Missing the dataset name"
echo "./test_example.sh <dataset name> <number of cross fold (optional)>"
echo "./test_example.sh <dataset name> --<flag (optional)> <content of flag>"
exit
fi

Expand Down
2 changes: 1 addition & 1 deletion test_example_source_only.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
if [[ "$1" == "" ]]; then
echo "Error: Missing the dataset name"
echo "./test_example_source_only.sh <dataset name> <number of cross fold (optional)>"
echo "./test_example_source_only.sh <dataset name> --<flag (optional)> <content of flag>"
exit
fi

Expand Down

0 comments on commit 9a3903b

Please sign in to comment.