Skip to content

Commit

Permalink
fix typo in MDA Universe loading
Browse files Browse the repository at this point in the history
  • Loading branch information
BradyAJohnston committed Jun 11, 2024
1 parent f834c00 commit ee3d4cc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion molecularnodes/io/md.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,9 @@ def load(
custom_selections: dict = {},
in_memory: bool = False,
):
universe = mda.Universe(topology=path_resolve(top), coordinate=path_resolve(traj))
top = path_resolve(top)
traj = path_resolve(traj)
universe = mda.Universe(top, traj)

if in_memory:
universe.transfer_to_memory(start=start, step=step, stop=stop)
Expand Down

0 comments on commit ee3d4cc

Please sign in to comment.