{"action":"created","issue":{"url":"https://api.github.com/repos/nipy/nibabel/issues/326","labels_url":"https://api.github.com/repos/nipy/nibabel/issues/326/labels{/name}","comments_url":"https://api.github.com/repos/nipy/nibabel/issues/326/comments","events_url":"https://api.github.com/repos/nipy/nibabel/issues/326/events","html_url":"https://github.com/nipy/nibabel/pull/326","id":94600950,"number":326,"title":"Use \"optional_package\" for scipy checks","user":{"login":"bcipolli","id":4072455,"avatar_url":"https://avatars.githubusercontent.com/u/4072455?v=3","gravatar_id":"","url":"https://api.github.com/users/bcipolli","html_url":"https://github.com/bcipolli","followers_url":"https://api.github.com/users/bcipolli/followers","following_url":"https://api.github.com/users/bcipolli/following{/other_user}","gists_url":"https://api.github.com/users/bcipolli/gists{/gist_id}","starred_url":"https://api.github.com/users/bcipolli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcipolli/subscriptions","organizations_url":"https://api.github.com/users/bcipolli/orgs","repos_url":"https://api.github.com/users/bcipolli/repos","events_url":"https://api.github.com/users/bcipolli/events{/privacy}","received_events_url":"https://api.github.com/users/bcipolli/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-12T21:31:11Z","updated_at":"2015-07-13T10:40:38Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/nipy/nibabel/pulls/326","html_url":"https://github.com/nipy/nibabel/pull/326","diff_url":"https://github.com/nipy/nibabel/pull/326.diff","patch_url":"https://github.com/nipy/nibabel/pull/326.patch"},"body":"In a few places, scipy was still checked for in `try.. catch` blocks, rather than a call to `optional_package`. Switch those over.\r\n\r\nMade another related changes as well, just because I was there:\r\n* Turn `nibabel/tests/data/check_parrec_reslice.py` into an importable module, and fail more gracefully if `scipy` is not installed.\r\n"},"comment":{"url":"https://api.github.com/repos/nipy/nibabel/issues/comments/120887960","html_url":"https://github.com/nipy/nibabel/pull/326#issuecomment-120887960","issue_url":"https://api.github.com/repos/nipy/nibabel/issues/326","id":120887960,"user":{"login":"matthew-brett","id":67612,"avatar_url":"https://avatars.githubusercontent.com/u/67612?v=3","gravatar_id":"","url":"https://api.github.com/users/matthew-brett","html_url":"https://github.com/matthew-brett","followers_url":"https://api.github.com/users/matthew-brett/followers","following_url":"https://api.github.com/users/matthew-brett/following{/other_user}","gists_url":"https://api.github.com/users/matthew-brett/gists{/gist_id}","starred_url":"https://api.github.com/users/matthew-brett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthew-brett/subscriptions","organizations_url":"https://api.github.com/users/matthew-brett/orgs","repos_url":"https://api.github.com/users/matthew-brett/repos","events_url":"https://api.github.com/users/matthew-brett/events{/privacy}","received_events_url":"https://api.github.com/users/matthew-brett/received_events","type":"User","site_admin":false},"created_at":"2015-07-13T10:40:38Z","updated_at":"2015-07-13T10:40:38Z","body":"Otherwise, looks good to me, thanks Ben."}}