Skip to content

Commit 41ad952

Browse files
committed
o remove assert, print is fine
1 parent 0b7d313 commit 41ad952

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

.github/workflows/docker_gdrp_parsl.yml

-9
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,6 @@ jobs:
4545
cat ./parsl_csa_exp3/infer/CCLE-CCLE/split_0/test_scores.json
4646
echo "Content of ./parsl_csa_exp3/infer/CCLE-CCLE/split_1/test_scores.json:"
4747
cat ./parsl_csa_exp3/infer/CCLE-CCLE/split_1/test_scores.json
48-
rmse_line=$(grep '"rmse":' ./parsl_csa_exp3/infer/CCLE-CCLE/split_1/test_scores.json)
49-
rmse_value=$(echo "$rmse_line" | awk -F ': ' '{print $2}' | tr -d ',')
50-
echo "RMSE for split_1: $rmse_value"
51-
if [[ $(echo "$rmse_value < 0.3" | bc -l) -eq 1 ]]; then
52-
echo "Assertion passed: RMSE ($rmse_value) < 0.3"
53-
else
54-
echo "Assertion failed: RMSE ($rmse_value) >= 0.3"
55-
exit 1 # Fail the workflow
56-
fi
5748
echo "Content of ./parsl_csa_exp3/infer/CCLE-gCSI/split_0/test_scores.json:"
5849
cat ./parsl_csa_exp3/infer/CCLE-gCSI/split_0/test_scores.json
5950
echo "Content of ./parsl_csa_exp3/infer/gCSI-CCLE/split_0/test_scores.json:"

0 commit comments

Comments
 (0)