Skip to content

Commit

Permalink
Fix lint.
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewtarzia committed Sep 24, 2024
1 parent 754a184 commit ade37cb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions python/chemiscope/input.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
import numpy as np

from .structures import (
_guess_adapter,
_list_atom_properties,
_list_structure_properties,
frames_to_json,
Expand Down Expand Up @@ -284,8 +283,7 @@ def create_input(
data["structures"] = frames_to_json(frames)
n_structures = len(data["structures"])
n_atoms = sum(s["size"] for s in data["structures"])
_, adapter = _guess_adapter(frames)
from_stk = True if adapter == "stk" else False

else:
n_atoms = 0

Expand Down

0 comments on commit ade37cb

Please sign in to comment.