{"action":"closed","issue":{"url":"https://api.github.com/repos/INCF/pybids/issues/80","repository_url":"https://api.github.com/repos/INCF/pybids","labels_url":"https://api.github.com/repos/INCF/pybids/issues/80/labels{/name}","comments_url":"https://api.github.com/repos/INCF/pybids/issues/80/comments","events_url":"https://api.github.com/repos/INCF/pybids/issues/80/events","html_url":"https://github.com/INCF/pybids/issues/80","id":268925793,"number":80,"title":"Fieldmaps - _magnitude2.nii[.gz] is optional","user":{"login":"oesteban","id":598470,"avatar_url":"https://avatars2.githubusercontent.com/u/598470?v=4","gravatar_id":"","url":"https://api.github.com/users/oesteban","html_url":"https://github.com/oesteban","followers_url":"https://api.github.com/users/oesteban/followers","following_url":"https://api.github.com/users/oesteban/following{/other_user}","gists_url":"https://api.github.com/users/oesteban/gists{/gist_id}","starred_url":"https://api.github.com/users/oesteban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oesteban/subscriptions","organizations_url":"https://api.github.com/users/oesteban/orgs","repos_url":"https://api.github.com/users/oesteban/repos","events_url":"https://api.github.com/users/oesteban/events{/privacy}","received_events_url":"https://api.github.com/users/oesteban/received_events","type":"User","site_admin":false},"labels":[{"id":405475617,"url":"https://api.github.com/repos/INCF/pybids/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-26T22:01:27Z","updated_at":"2017-10-27T23:08:50Z","closed_at":"2017-10-27T23:08:50Z","author_association":"COLLABORATOR","body":"As per these lines:\r\n\r\nhttps://github.com/INCF/pybids/blob/800d15053952991c9cd4a00cf0039288d489ca12/bids/grabbids/bids_layout.py#L143-L148\r\n\r\nwhen a fieldmap type is identified as `'phasediff'` then pybids understands that there is always a `_magnitude2.nii[.gz]` file. However, this is maked as optional in the specification."}}
{"actor":{"display_login":"chrisfilo"}}