Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
sivonxay committed Oct 27, 2023
1 parent 90a0a13 commit b991268
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/NanoParticleTools/inputs/nanoparticle.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,7 @@ def sites_in_bounds(self,
center = [0, 0, 0]

distances_from_center = np.linalg.norm(np.subtract(
site_coords, center),
axis=1)
site_coords, center), axis=1)
return distances_from_center <= self.radius

def __str__(self) -> str:
Expand Down

0 comments on commit b991268

Please sign in to comment.