Skip to content

Commit

Permalink
STY: Further simplification
Browse files Browse the repository at this point in the history
Co-authored-by: Chris Markiewicz <[email protected]>
  • Loading branch information
DimitriPapadopoulos and effigies authored Oct 6, 2024
1 parent 0aab1ef commit 925d592
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nipype/algorithms/modelgen.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def bids_gen_info(
for bids_event_file in bids_event_files:
with open(bids_event_file) as f:
f_events = csv.DictReader(f, skipinitialspace=True, delimiter="\t")
events = [dict(row.items()) for row in f_events]
events = list(f_events)
if not condition_column:
condition_column = "_trial_type"
for i in events:
Expand Down

0 comments on commit 925d592

Please sign in to comment.