Skip to content

Commit

Permalink
changed time intervall check
Browse files Browse the repository at this point in the history
  • Loading branch information
kierandidi committed Mar 26, 2024
1 parent 878fa96 commit 7a3875d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions proteinworkshop/datasets/pdb_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,7 @@ def __init__(
self.split_type = split_type
self.split_sequence_similarity = split_sequence_similiarity
self.overwrite_sequence_clusters = overwrite_sequence_clusters
if split_time_frames is None:
self.split_time_frames = split_time_frames
else:
if self.split_type == "time_cutoff":
try:
self.split_time_frames = [np.datetime64(date) for date in split_time_frames]
except:
Expand Down

0 comments on commit 7a3875d

Please sign in to comment.