Skip to content

Commit 2e0c203

Browse files
committed
Test: Decoupling test for out_chg and dft_functional
1 parent 574b085 commit 2e0c203

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

tests/integrate/tools/catch_properties.sh

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -372,14 +372,21 @@ if ! test -z "$has_mat_dh" && [ $has_mat_dh == 1 ]; then
372372
echo "ComparerdHRz_pass $?" >>$1
373373
fi
374374

375+
#---------------------------------------
376+
# Charge density
377+
#---------------------------------------
378+
#echo $out_chg
379+
if ! test -z "$out_chg" && [ $out_chg == 1 ]; then
380+
python3 $COMPARE_SCRIPT chg.cube.ref OUT.autotest/chg.cube 8
381+
echo "chg.cube_pass $?" >>$1
382+
fi
383+
375384
#---------------------------------------
376385
# SCAN exchange-correlation information
377386
#echo $has_scan
378387
#---------------------------------------
379388
if ! test -z "$has_scan" && [ $has_scan == "scan" ] && \
380389
! test -z "$out_chg" && [ $out_chg == 1 ]; then
381-
python3 $COMPARE_SCRIPT chg.cube.ref OUT.autotest/chg.cube 8
382-
echo "chg.cube_pass $?" >>$1
383390
python3 $COMPARE_SCRIPT tau.cube.ref OUT.autotest/tau.cube 8
384391
echo "tau.cube_pass $?" >>$1
385392
fi

0 commit comments

Comments
 (0)