Skip to content

Commit

Permalink
force str dtype in temperatures list
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonioMirarchi committed Jul 29, 2024
1 parent c12a2bd commit f5c2d46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchmdnet/datasets/mdcath.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def __init__(
os.makedirs(root, exist_ok=True)
self.numAtoms = numAtoms
self.numResidues = numResidues
self.temperatures = temperatures
self.temperatures = [str(temp) for temp in temperatures]
self.skip_frames = skip_frames
self.pdb_list = load_pdb_list(pdb_list) if pdb_list is not None else None
self.min_gyration_radius = min_gyration_radius
Expand Down

0 comments on commit f5c2d46

Please sign in to comment.