Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
charnley committed Feb 10, 2024
1 parent b8bcc96 commit bf815ce
Show file tree
Hide file tree
Showing 12 changed files with 17 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from __future__ import absolute_import

import numpy as np

from qmllib.utils.alchemy import get_alchemy

from .fchl_kernel_functions import get_kernel_parameters
Expand Down
1 change: 1 addition & 0 deletions src/qmllib/representations/fchl/fchl_force_kernels.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from __future__ import absolute_import

import numpy as np

from qmllib.utils.alchemy import get_alchemy

from .fchl_kernel_functions import get_kernel_parameters
Expand Down
1 change: 1 addition & 0 deletions src/qmllib/representations/fchl/fchl_representations.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import copy

import numpy as np

from qmllib.utils import ELEMENT_NAME


Expand Down
1 change: 1 addition & 0 deletions src/qmllib/representations/fchl/fchl_scalar_kernels.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from __future__ import absolute_import

import numpy as np

from qmllib.utils.alchemy import get_alchemy

from .fchl_kernel_functions import get_kernel_parameters
Expand Down
1 change: 1 addition & 0 deletions tests/test_acsf.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

import numpy as np
import tensorflow as tf

from qmllib.aglaia import np_symm_funct, symm_funct


Expand Down
4 changes: 2 additions & 2 deletions tests/test_arad.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
import os

import numpy as np

import qmllib
from qmllib.arad import (
generate_arad_representation,
get_atomic_kernels_arad,
Expand All @@ -13,8 +15,6 @@
get_local_symmetric_kernels_arad,
)

import qmllib


def get_energies(filename):
"""Returns a dictionary with heats of formation for each xyz-file."""
Expand Down
1 change: 1 addition & 0 deletions tests/test_armp.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import shutil

import numpy as np

from qmllib.aglaia.aglaia import ARMP
from qmllib.utils import InputError

Expand Down
4 changes: 2 additions & 2 deletions tests/test_fchl_electric_field.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
from copy import deepcopy

import numpy as np
from scipy.linalg import lstsq

from qmllib.fchl import (
generate_displaced_representations,
generate_representation,
Expand All @@ -15,8 +17,6 @@
get_atomic_local_kernels,
get_gaussian_process_electric_field_kernels,
)
from scipy.linalg import lstsq

from qmllib.math import cho_solve

DEBYE_TO_EAA = 0.20819434
Expand Down
4 changes: 2 additions & 2 deletions tests/test_fchl_force.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
import numpy as np
import scipy
import scipy.stats
from scipy.linalg import lstsq

from qmllib.fchl import (
generate_displaced_representations,
generate_displaced_representations_5point,
Expand All @@ -23,8 +25,6 @@
get_local_symmetric_hessian_kernels,
get_local_symmetric_kernels,
)
from scipy.linalg import lstsq

from qmllib.math import cho_solve

test_dir = os.path.dirname(os.path.realpath(__file__))
Expand Down
6 changes: 3 additions & 3 deletions tests/test_fchl_scalar.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
import os

import numpy as np
from scipy.special import binom, factorial, jn

from qmllib import Compound
from qmllib.fchl import (
generate_representation,
get_atomic_kernels,
Expand All @@ -12,9 +15,6 @@
get_local_kernels,
get_local_symmetric_kernels,
)
from scipy.special import binom, factorial, jn

from qmllib import Compound
from qmllib.math import cho_solve


Expand Down
1 change: 1 addition & 0 deletions tests/test_mrmp.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import shutil

import numpy as np

from qmllib.aglaia.aglaia import MRMP
from qmllib.utils import InputError

Expand Down
2 changes: 1 addition & 1 deletion tests/test_symm_funct.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@

import numpy as np
import tensorflow as tf
from qmllib.aglaia import symm_funct

import qmllib
from qmllib.aglaia import symm_funct
from qmllib.representations import generate_acsf


Expand Down

0 comments on commit bf815ce

Please sign in to comment.