Skip to content

Commit

Permalink
[CODESPELL] typos
Browse files Browse the repository at this point in the history
  • Loading branch information
bclenet committed Nov 15, 2023
1 parent fd9bbf3 commit 7252864
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion narps_open/pipelines/team_08MQ.py
Original file line number Diff line number Diff line change
Expand Up @@ -711,7 +711,7 @@ def get_subgroups_contrasts(copes, varcopes, subject_list: list, participants_fi
equal_range_ids.append(subject_id)
equal_range_sub_ids.append(info[0])

# Reurn sorted selected copes and varcopes by group, and corresponding ids
# Return sorted selected copes and varcopes by group, and corresponding ids
return \
[c for c in copes if any(i in c for i in equal_indifference_sub_ids)],\
[c for c in copes if any(i in c for i in equal_range_sub_ids)],\
Expand Down
4 changes: 2 additions & 2 deletions tests/pipelines/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

@helpers.register
def mock_event_data(mocker):
""" Mocks the retrun of the open function with the contents of a fake event file """
""" Mocks the return of the open function with the contents of a fake event file """

fake_event_data = 'onset duration\tgain\tloss\tRT\tparticipant_response\n'
fake_event_data += '4.071\t4\t14\t6\t2.388\tweakly_accept\n'
Expand All @@ -20,7 +20,7 @@ def mock_event_data(mocker):

@helpers.register
def mock_participants_data(mocker):
""" Mocks the retrun of the open function with the contents of a fake participants file """
""" Mocks the return of the open function with the contents of a fake participants file """

fake_participants_data = 'participant_id\tgroup\tgender\tage\n'
fake_participants_data += 'sub-001\tequalIndifference\tM\t24\n'
Expand Down

0 comments on commit 7252864

Please sign in to comment.