diff --git a/functions/get_trials.py b/functions/get_trials.py index 8c687d9..abe33d2 100644 --- a/functions/get_trials.py +++ b/functions/get_trials.py @@ -14,5 +14,6 @@ def get_trials(path: str, experiment_id: int) -> torch.Tensor: list_int: list[int] = [] for i in range(0, len(list_str)): list_int.append(int(list_str[i].split("_Trial")[-1].split("_Part")[0])) + list_int = sorted(list_int) return torch.tensor(list_int).unique()