ctest awk correct
[unres.git] / ctest / newcorr / prota_unres_energy_check_mult.sh
index e415b57..470594f 100755 (executable)
@@ -320,7 +320,7 @@ if [ $true1 -eq 1 ]; then
 fi
 
 # Check if Energy value is as expected
-true2=`awk "BEGIN{print $absdiff >= $extremediff}"`
+true2=`awk "BEGIN{print $absdiff <= $cutoffdiff}"`
 if [ $true2 -eq 1 ]; then
     echo "OK: absdiff= $absdiff, ene= $myene"
     exit 0