Skip to content

Commit 925d592

Browse files
STY: Further simplification
Co-authored-by: Chris Markiewicz <[email protected]>
1 parent 0aab1ef commit 925d592

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nipype/algorithms/modelgen.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ def bids_gen_info(
161161
for bids_event_file in bids_event_files:
162162
with open(bids_event_file) as f:
163163
f_events = csv.DictReader(f, skipinitialspace=True, delimiter="\t")
164-
events = [dict(row.items()) for row in f_events]
164+
events = list(f_events)
165165
if not condition_column:
166166
condition_column = "_trial_type"
167167
for i in events:

0 commit comments

Comments
 (0)