We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 878fa96 commit 7a3875dCopy full SHA for 7a3875d
proteinworkshop/datasets/pdb_dataset.py
@@ -55,9 +55,7 @@ def __init__(
55
self.split_type = split_type
56
self.split_sequence_similarity = split_sequence_similiarity
57
self.overwrite_sequence_clusters = overwrite_sequence_clusters
58
- if split_time_frames is None:
59
- self.split_time_frames = split_time_frames
60
- else:
+ if self.split_type == "time_cutoff":
61
try:
62
self.split_time_frames = [np.datetime64(date) for date in split_time_frames]
63
except:
0 commit comments