We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e83bf5c + 8e6fd08 commit 718df87Copy full SHA for 718df87
the_well/data/datasets.py
@@ -389,8 +389,9 @@ def _build_restriction_set(
389
- 1
390
)
391
if traj in trajectories_sampled:
392
+ n_windows = self.n_windows_per_trajectory[file_index]
393
global_indices = global_indices + list(
- range(0, self.n_windows_per_trajectory[file_index])
394
+ range(current_index, current_index + n_windows)
395
396
current_index += self.n_windows_per_trajectory[file_index]
397
global_indices = np.array(global_indices)
0 commit comments