{"action":"created","issue":{"url":"https://api.github.com/repos/nipy/nipy/issues/388","labels_url":"https://api.github.com/repos/nipy/nipy/issues/388/labels{/name}","comments_url":"https://api.github.com/repos/nipy/nipy/issues/388/comments","events_url":"https://api.github.com/repos/nipy/nipy/issues/388/events","html_url":"https://github.com/nipy/nipy/issues/388","id":122532832,"number":388,"title":"`get_data_light` used but missing","user":{"login":"TheChymera","id":950524,"avatar_url":"https://avatars.githubusercontent.com/u/950524?v=3","gravatar_id":"","url":"https://api.github.com/users/TheChymera","html_url":"https://github.com/TheChymera","followers_url":"https://api.github.com/users/TheChymera/followers","following_url":"https://api.github.com/users/TheChymera/following{/other_user}","gists_url":"https://api.github.com/users/TheChymera/gists{/gist_id}","starred_url":"https://api.github.com/users/TheChymera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheChymera/subscriptions","organizations_url":"https://api.github.com/users/TheChymera/orgs","repos_url":"https://api.github.com/users/TheChymera/repos","events_url":"https://api.github.com/users/TheChymera/events{/privacy}","received_events_url":"https://api.github.com/users/TheChymera/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-16T15:40:57Z","updated_at":"2015-12-16T15:47:53Z","closed_at":null,"body":"The function `get_data_light` is used by a number of scripts shipped with nipy (e.g. [this one](https://github.com/nipy/nipy/blob/master/examples/labs/need_data/glm_beta_and_variance.py), which I am currently trying to run). \r\n\r\nThe function is however not shipped with nipy, not is it (or the files it should be pointing me to, `s12069_swaloc1_corr.nii.gz` and `localizer_paradigm.csv`) shipped with either nipy-data or nipy-templates.\r\n\r\nHow can I get the data (and function) needed to run this example?"},"comment":{"url":"https://api.github.com/repos/nipy/nipy/issues/comments/165151436","html_url":"https://github.com/nipy/nipy/issues/388#issuecomment-165151436","issue_url":"https://api.github.com/repos/nipy/nipy/issues/388","id":165151436,"user":{"login":"TheChymera","id":950524,"avatar_url":"https://avatars.githubusercontent.com/u/950524?v=3","gravatar_id":"","url":"https://api.github.com/users/TheChymera","html_url":"https://github.com/TheChymera","followers_url":"https://api.github.com/users/TheChymera/followers","following_url":"https://api.github.com/users/TheChymera/following{/other_user}","gists_url":"https://api.github.com/users/TheChymera/gists{/gist_id}","starred_url":"https://api.github.com/users/TheChymera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheChymera/subscriptions","organizations_url":"https://api.github.com/users/TheChymera/orgs","repos_url":"https://api.github.com/users/TheChymera/repos","events_url":"https://api.github.com/users/TheChymera/events{/privacy}","received_events_url":"https://api.github.com/users/TheChymera/received_events","type":"User","site_admin":false},"created_at":"2015-12-16T15:47:53Z","updated_at":"2015-12-16T15:47:53Z","body":"Ok, I solved this myself. The `get_data_light` function is located in the same directory as the example functions, just that setup.py seems to not select those files for installation. I was able to use the function (and get the data I needed) by adding the path of the respective subdirectory of my nipy fork to the pythonpath (in the file):\r\n\r\n\r\n```\r\nimport sys\r\nsys.path.append(\"/home/chymera/src/nipy/examples/labs/need_data/\")\r\n```"}}