{"action":"closed","issue":{"url":"https://api.github.com/repos/PyMVPA/PyMVPA/issues/558","repository_url":"https://api.github.com/repos/PyMVPA/PyMVPA","labels_url":"https://api.github.com/repos/PyMVPA/PyMVPA/issues/558/labels{/name}","comments_url":"https://api.github.com/repos/PyMVPA/PyMVPA/issues/558/comments","events_url":"https://api.github.com/repos/PyMVPA/PyMVPA/issues/558/events","html_url":"https://github.com/PyMVPA/PyMVPA/issues/558","id":276606206,"number":558,"title":"PyMVPA aborts when loading fmri dataset","user":{"login":"samfux84","id":11944875,"avatar_url":"https://avatars0.githubusercontent.com/u/11944875?v=4","gravatar_id":"","url":"https://api.github.com/users/samfux84","html_url":"https://github.com/samfux84","followers_url":"https://api.github.com/users/samfux84/followers","following_url":"https://api.github.com/users/samfux84/following{/other_user}","gists_url":"https://api.github.com/users/samfux84/gists{/gist_id}","starred_url":"https://api.github.com/users/samfux84/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samfux84/subscriptions","organizations_url":"https://api.github.com/users/samfux84/orgs","repos_url":"https://api.github.com/users/samfux84/repos","events_url":"https://api.github.com/users/samfux84/events{/privacy}","received_events_url":"https://api.github.com/users/samfux84/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2017-11-24T12:40:40Z","updated_at":"2017-12-01T18:00:12Z","closed_at":"2017-12-01T18:00:12Z","author_association":"NONE","body":"I am running a Python code using pyMVPA and when using the function\r\n\r\ndb = mvpa2.datasets.mri.fmri_dataset(\r\n                                     nii_fns, targets=labels, chunks=grps, mask='/cluster/work/wenderoth/PKF/SearchLight/Resources/maskTesting.nii', sprefix=sprefix_, tprefix=tprefix_, add_fa=None)\r\n\r\nit aborts with\r\n\r\n```\r\nloading data\r\nTraceback (most recent call last):\r\n  File \"SL_masked.py\", line 71, in <module>\r\n    nii_fns, targets=labels, chunks=grps, mask='/cluster/work/wenderoth/PKF/SearchLight/Resources/maskTesting.nii', sprefix=sprefix_, tprefix=tprefix_, add_fa=None)\r\n  File \"/cluster/apps/python/3.6.0/x86_64/lib64/python3.6/site-packages/mvpa2/datasets/mri.py\", line 254, in fmri_dataset\r\n    imgdata, imghdr, img = _load_anyimg(samples, ensure=True, enforce_dim=4)\r\nTypeError: 'NoneType' object is not iterable\r\n-bash-4.2$\r\n```\r\n\r\nAny idea what could cause such a problem ?"}}
{"actor":{"display_login":"yarikoptic"}}