2 Matching Annotations
  1. Sep 2021
    1. [1]

      At least in my environment, when I tried to run this I got an "IndexError: list index out of range". Removing the list splicing solved the problem for me (producing the figures below).

      data = Brain_Data(layout.get(subject=sub, task='localizer', scope='derivatives', suffix='bold', extension='nii.gz', return_type='file')[1]) --> data = Brain_Data(layout.get(subject=sub, task='localizer', scope='derivatives', suffix='bold', extension='nii.gz', return_type='file'))