Skip to content

Commit

Permalink
Update moabb/evaluations/splitters.py
Browse files Browse the repository at this point in the history
Co-authored-by: Thomas Moreau <[email protected]>
Signed-off-by: Bruna Junqueira Lopes <[email protected]>
  • Loading branch information
brunaafl and tomMoral authored Nov 25, 2024
1 parent f3020ee commit c628fd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion moabb/evaluations/splitters.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def get_n_splits(self, metadata):

def split(self, y, metadata, **kwargs):
all_index = metadata.index.values
subjects = metadata.subject.unique()
subjects = metadata['subject'].unique()

# Shuffle subjects if required
if self.shuffle_subjects:
Expand Down

0 comments on commit c628fd7

Please sign in to comment.