Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 19, 2024
1 parent a0fe6ae commit ab49da9
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions examples/psi4/runpsi4.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"""Example of the PSI4 interface, by writing out PSI4's quadrature grids."""

import psi4

from denspart.adapters.psi4 import write_density_npz

psi4.core.set_output_file("output.txt", False)
Expand Down
1 change: 1 addition & 0 deletions tests/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@

import numpy as np
import pytest

from denspart.__main__ import main
from denspart.vh import ProModel

Expand Down
5 changes: 3 additions & 2 deletions tests/test_mbis.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,12 @@

import numpy as np
import pytest
from denspart.mbis import ExponentialFunction, MBISProModel, connected_vertices
from denspart.vh import ProModel, optimize_reduce_pro_model
from grid.basegrid import Grid
from numpy.testing import assert_allclose

from denspart.mbis import ExponentialFunction, MBISProModel, connected_vertices
from denspart.vh import ProModel, optimize_reduce_pro_model


def test_connected_vertices_simple():
assert connected_vertices([[0, 1], [1, 2]], [0, 1, 2, 3]) == set(
Expand Down
3 changes: 2 additions & 1 deletion tests/test_properties.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,11 @@

import numpy as np
import pytest
from denspart.properties import spherical_harmonics
from numpy.testing import assert_allclose
from scipy.special import sph_harm

from denspart.properties import spherical_harmonics


def sph_harm_real(m, n, theta, phi):
"""Construct real spherical harmonics, using SciPy's sph_harm function.
Expand Down

0 comments on commit ab49da9

Please sign in to comment.