Skip to content

Commit

Permalink
[BUG] contrast definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
bclenet committed Feb 26, 2024
1 parent 5ffd5d9 commit 06212fe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions narps_open/pipelines/team_R9K3.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 06212fe

Please sign in to comment.