Skip to content

Commit

Permalink
fix flake and import
Browse files Browse the repository at this point in the history
  • Loading branch information
kylebystrom committed Nov 11, 2024
1 parent 3d6de69 commit 2032f6b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ciderpress/dft/tests/test_sph_harm_coeff.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
harmonic derivative coefficients are working correctly.
"""

import ctypes
import unittest

import numpy as np
Expand All @@ -11,7 +12,6 @@
from ciderpress.dft.sph_harm_coeff import (
clebsch_gordan,
clebsch_gordan_e3nn,
ctypes,
get_deriv_ylm_coeff,
libcider,
)
Expand Down
2 changes: 1 addition & 1 deletion ciderpress/pyscf/tests/test_rks_grad.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def setUpModule():
or not mf7.converged
):
raise RuntimeError(
"{} {} {} {} {}".format(
"{} {} {} {} {} {} {}".format(
mf1.converged,
mf2.converged,
mf3.converged,
Expand Down
4 changes: 2 additions & 2 deletions ciderpress/pyscf/tests/test_sdmx.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,15 +242,15 @@ def test_cao_speed(self):
cao_buf = np.empty((ncomp, blksize, nao))
t2 = time.monotonic()
for i0, i1 in lib.prange(0, grids.coords.shape[0], blksize):
cao_ref = eval_conv_ao(
eval_conv_ao(
plan, mol, grids.coords[i0:i1], deriv=deriv, out=cao_buf
)
t3 = time.monotonic()

cao_buf = np.empty((ncomp, blksize, nao))
t4 = time.monotonic()
for i0, i1 in lib.prange(0, grids.coords.shape[0], blksize):
cao_ref = eval_conv_sh(
eval_conv_sh(
plan, mol, grids.coords[i0:i1], deriv=deriv, out=cao_buf
)
t5 = time.monotonic()
Expand Down
2 changes: 1 addition & 1 deletion ciderpress/pyscf/tests/test_uks_grad.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def setUpModule():
or not mf7.converged
):
raise RuntimeError(
"{} {} {} {} {}".format(
"{} {} {} {} {} {} {}".format(
mf1.converged,
mf2.converged,
mf3.converged,
Expand Down

0 comments on commit 2032f6b

Please sign in to comment.