Skip to content

Commit

Permalink
Fix names
Browse files Browse the repository at this point in the history
  • Loading branch information
q-posev authored Nov 27, 2024
1 parent 03c0a24 commit 7239fa6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,13 @@ jobs:
# benchmark helper converters
trexio convert-to -t molden -o trexio_molden.h5 trexio_gamess.h5
echo "=== Check normalization in spherical file ==="
trexio check-mos data/methane_sphe.hdf5 > error-res
trexio check-mos -n 100 data/methane_sphe.hdf5 > mos-res
cat mos-res
grep "Norm of the error" < mos-res | grep -Eo "([0-9]+\.[0-9]*|\.?[0-9]+)([eE][+-][0-9]+)?" > error-res
python -c 'with open("error-res") as f: error = f.readline().strip(); assert float(error) < 0.01'
echo "=== Check normalization after transformation into cartesian file ==="
trexio convert-to -t cartesian data/methane_sphe.hdf5 -o methane_cart.hdf5
trexio check-mos methane_cart.hdf5 > error-res
trexio check-mos -n 100 methane_cart.hdf5 > mos-res
cat mos-res
grep "Norm of the error" < mos-res | grep -Eo "([0-9]+\.[0-9]*|\.?[0-9]+)([eE][+-][0-9]+)?" > error-res
python -c 'with open("error-res") as f: error = f.readline().strip(); assert float(error) < 0.01'

0 comments on commit 7239fa6

Please sign in to comment.