File tree 1 file changed +0
-9
lines changed
1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change 45
45
cat ./parsl_csa_exp3/infer/CCLE-CCLE/split_0/test_scores.json
46
46
echo "Content of ./parsl_csa_exp3/infer/CCLE-CCLE/split_1/test_scores.json:"
47
47
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
57
48
echo "Content of ./parsl_csa_exp3/infer/CCLE-gCSI/split_0/test_scores.json:"
58
49
cat ./parsl_csa_exp3/infer/CCLE-gCSI/split_0/test_scores.json
59
50
echo "Content of ./parsl_csa_exp3/infer/gCSI-CCLE/split_0/test_scores.json:"
You can’t perform that action at this time.
0 commit comments