Skip to content

Commit

Permalink
Bug fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewtarzia committed Sep 25, 2024
1 parent a956a02 commit 717b498
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/chemiscope/structures/_stk.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@


def _stk_valid_structures(
frames: typing.Union(stk.Molecule, list[stk.Molecule]),
frames: typing.Union[stk.Molecule, list[stk.Molecule]],
) -> tuple[list[stk.Molecule], bool]:
if HAVE_STK and isinstance(frames, stk.Molecule):
# deal with the user passing a single frame
Expand Down

0 comments on commit 717b498

Please sign in to comment.