From 72528647361c9402886b8285d9ec7e76e1735952 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Boris=20Cl=C3=A9net?= Date: Wed, 15 Nov 2023 16:44:41 +0100 Subject: [PATCH] [CODESPELL] typos --- narps_open/pipelines/team_08MQ.py | 2 +- tests/pipelines/__init__.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/narps_open/pipelines/team_08MQ.py b/narps_open/pipelines/team_08MQ.py index b672367c..ef1c2fb1 100644 --- a/narps_open/pipelines/team_08MQ.py +++ b/narps_open/pipelines/team_08MQ.py @@ -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)],\ diff --git a/tests/pipelines/__init__.py b/tests/pipelines/__init__.py index d6ad4fdc..2325a9b9 100644 --- a/tests/pipelines/__init__.py +++ b/tests/pipelines/__init__.py @@ -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' @@ -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'