From 06212fe05701b2ef3f160dd37875e258e90127cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Boris=20Cl=C3=A9net?= Date: Mon, 26 Feb 2024 15:51:01 +0100 Subject: [PATCH] [BUG] contrast definitions --- narps_open/pipelines/team_R9K3.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/narps_open/pipelines/team_R9K3.py b/narps_open/pipelines/team_R9K3.py index 3de87d8d..61d15304 100644 --- a/narps_open/pipelines/team_R9K3.py +++ b/narps_open/pipelines/team_R9K3.py @@ -36,8 +36,8 @@ def __init__(self): self.contrast_list = ['0001', '0002'] conditions = ['trialxgain^1', 'trialxloss^1'] self.subject_level_contrasts = [ - ['effect_of_gain', 'T', conditions, [0, 1, 0]], - ['effect_of_loss', 'T', conditions, [0, 0, 1]] + ['effect_of_gain', 'T', conditions, [1, 0]], + ['effect_of_loss', 'T', conditions, [0, 1]] ] def get_preprocessing(self): @@ -139,7 +139,7 @@ def get_subject_information(event_file): weights_gain = [] weights_loss = [] - with open(event_file, "rt") as file: + with open(event_file, 'rt') as file: next(file) # skip the header for line in file: