Skip to content

Commit

Permalink
revert dropping [None] ... it is needed for itertools.product
Browse files Browse the repository at this point in the history
  • Loading branch information
sappelhoff committed Aug 15, 2019
1 parent 327a12b commit 51b3a8d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config.py
Expand Up @@ -47,11 +47,13 @@
# see: bids-specification.rtfd.io/en/latest/99-appendices/04-entity-table.html

sessions = get_values_for_key(bids_root, key='ses')
sessions = sessions if sessions else [None]

# XXX: take only first task for now
task = get_values_for_key(bids_root, key='task')[0]

runs = get_values_for_key(bids_root, key='run')
runs = runs if runs else [None]

acq = None

Expand Down

0 comments on commit 51b3a8d

Please sign in to comment.