Skip to content

Commit 6652b77

Browse files
committed
Fix the bug that DeePKS integrate test output 0/1 file.
1 parent 859c5e4 commit 6652b77

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/integrate/tools/catch_deepks_properties.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -91,14 +91,14 @@ if ! test -z "$deepks_out_labels" && [ $deepks_out_labels == 1 ]; then
9191
echo "deepks_vdelta $deepks_vdelta" >>$1
9292
# For deepks_v_delta = 1
9393
if [ $deepks_v_delta -eq 1 ]; then
94-
deepks_vdp=`python3 ../tools/get_sum_abs.py OUT.autotest/deepks_vdpre.npy `
94+
deepks_vdp=`python3 ../tools/get_sum_abs.py OUT.autotest/deepks_vdpre.npy`
9595
echo "deepks_vdp $deepks_vdp" >> $1
9696
fi
9797
# For deepks_v_delta = 2
9898
if [ $deepks_v_delta -eq 2 ]; then
99-
deepks_phialpha=`python3 ../tools/get_sum_abs.py OUT.autotest/deepks_phialpha.npy `
99+
deepks_phialpha=`python3 ../tools/get_sum_abs.py OUT.autotest/deepks_phialpha.npy`
100100
echo "deepks_phialpha $deepks_phialpha" >> $1
101-
deepks_gevdm=`python3 ../tools/get_sum_numpy.py OUT.autotest/deepks_gevdm.npy `
101+
deepks_gevdm=`python3 ../tools/get_sum_numpy.py OUT.autotest/deepks_gevdm.npy`
102102
echo "deepks_gevdm $deepks_gevdm" >> $1
103103
fi
104104
fi
@@ -110,14 +110,14 @@ if ! test -z "$deepks_out_labels" && [ $deepks_out_labels == 1 ]; then
110110
echo "deepks_vdelta_r_pass $?" >>$1
111111
# For deepks_v_delta = -1
112112
if [ $deepks_v_delta -eq -1 ]; then
113-
deepks_vdrp=`python3 ../tools/get_sum_abs.py OUT.autotest/deepks_vdrpre.npy `
113+
deepks_vdrp=`python3 ../tools/get_sum_abs.py OUT.autotest/deepks_vdrpre.npy`
114114
echo "deepks_vdrp $deepks_vdrp" >> $1
115115
fi
116116
# For deepks_v_delta = -2
117117
if [ $deepks_v_delta -eq -2 ]; then
118-
deepks_phialpha_r=`python3 ../tools/get_sum_abs.py OUT.autotest/deepks_phialpha_r.npy `
118+
deepks_phialpha_r=`python3 ../tools/get_sum_abs.py OUT.autotest/deepks_phialpha_r.npy`
119119
echo "deepks_phialpha_r $deepks_phialpha_r" >> $1
120-
deepks_gevdm=`python3 ../tools/get_sum_numpy.py OUT.autotest/deepks_gevdm.npy `
120+
deepks_gevdm=`python3 ../tools/get_sum_numpy.py OUT.autotest/deepks_gevdm.npy`
121121
echo "deepks_gevdm $deepks_gevdm" >> $1
122122
fi
123123
fi

0 commit comments

Comments
 (0)