Skip to content

Commit

Permalink
Change PurePath to Path
Browse files Browse the repository at this point in the history
  • Loading branch information
hannahbaumann committed Dec 13, 2023
1 parent 4704336 commit 64109d8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions openfe/protocols/openmm_md/plain_md_methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def get_uncertainty(self):

return None

def get_traj_filename(self) -> list[pathlib.PurePath]:
def get_traj_filename(self) -> list[pathlib.Path]:
"""
Get a list of trajectory paths
Expand All @@ -85,14 +85,14 @@ def get_traj_filename(self) -> list[pathlib.PurePath]:

return traj

def get_pdb_filename(self) -> list[pathlib.PurePath]:
def get_pdb_filename(self) -> list[pathlib.Path]:
"""
Get a list of paths to the pdb files of the pre-minimized system.
Returns
-------
pdbs : list
list of paths (pathlib.PurePath) to the pdb files
pdbs : list[pathlib.Path]
list of paths (pathlib.Path) to the pdb files
"""
pdbs = [pus[0].outputs['system_pdb'] for pus in self.data.values()]

Expand Down

0 comments on commit 64109d8

Please sign in to comment.