Skip to content

Commit

Permalink
chore: run lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
VsevolodX committed Aug 30, 2024
1 parent bd996d5 commit 008264d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/py/mat3ra/made/tools/analyze.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
from typing import Callable, List, Literal, Optional

import numpy as np
from .utils import decorator_handle_periodic_boundary_conditions
from scipy.spatial import cKDTree

from ..material import Material
from .build.passivation.enums import SurfaceTypes
from .convert import decorator_convert_material_args_kwargs_to_atoms, to_pymatgen
from .third_party import ASEAtoms, PymatgenIStructure, PymatgenVoronoiNN
from .utils import decorator_handle_periodic_boundary_conditions


@decorator_convert_material_args_kwargs_to_atoms
Expand Down Expand Up @@ -302,7 +302,7 @@ def get_nearest_neighbors_atom_indices(
remove_dummy_atom = True
try:
neighbors = voronoi_nn.get_nn_info(structure, site_index)
except:
except ValueError:
return None
neighboring_atoms_pymatgen_ids = [n["site_index"] for n in neighbors]
if remove_dummy_atom:
Expand Down

0 comments on commit 008264d

Please sign in to comment.