{"action":"created","issue":{"url":"https://api.github.com/repos/numenta/nupic/issues/1902","labels_url":"https://api.github.com/repos/numenta/nupic/issues/1902/labels{/name}","comments_url":"https://api.github.com/repos/numenta/nupic/issues/1902/comments","events_url":"https://api.github.com/repos/numenta/nupic/issues/1902/events","html_url":"https://github.com/numenta/nupic/pull/1902","id":59729894,"number":1902,"title":"Replaces datasethelpers with pkg_resources.","user":{"login":"rhyolight","id":15566,"avatar_url":"https://avatars.githubusercontent.com/u/15566?v=3","gravatar_id":"","url":"https://api.github.com/users/rhyolight","html_url":"https://github.com/rhyolight","followers_url":"https://api.github.com/users/rhyolight/followers","following_url":"https://api.github.com/users/rhyolight/following{/other_user}","gists_url":"https://api.github.com/users/rhyolight/gists{/gist_id}","starred_url":"https://api.github.com/users/rhyolight/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhyolight/subscriptions","organizations_url":"https://api.github.com/users/rhyolight/orgs","repos_url":"https://api.github.com/users/rhyolight/repos","events_url":"https://api.github.com/users/rhyolight/events{/privacy}","received_events_url":"https://api.github.com/users/rhyolight/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/numenta/nupic/labels/ready","name":"ready","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-03-04T00:14:42Z","updated_at":"2015-03-04T23:41:10Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/numenta/nupic/pulls/1902","html_url":"https://github.com/numenta/nupic/pull/1902","diff_url":"https://github.com/numenta/nupic/pull/1902.diff","patch_url":"https://github.com/numenta/nupic/pull/1902.patch"},"body":"Fixes #1899\r\n\r\n- Added example data location to setup.py as package data.\r\n- Added example/prediction/data files to MANIFEST.\r\n- Updated tests to use pkg_resources to fetch data files.\r\n- Updated example code to fetch data through pkg_resources.\r\n- Used pkg_resources to load files in nupic.data code.\r\n- Removing datasethelpers and tests.\r\n- Updated tests to write data files into examples/prediction/data.\r\n- Updated experiment runner to resolve paths better.\r\n    - The experiment stream source could be an absolute path or a\r\n      path relative to the \"examples.prediction.data\" pkg_resource.  Updated its logic to identify absolute paths and convert relative paths through pkg_resources.\r\n    - Updated swarming test configuration.\r\n        - A bunch of the swarming test configurations were expecting datasethelpers to find the input file on a search path that doesn't exist anymore. I solved this by:\r\n            - moving test_data.csv from tests/swarming/nupic/swarming/data into the package_data directory in the \"swarming\" folder\r\n            - adding \\_\\_init\\_\\_.py to the swarming folder mentioned above\r\n            - updating ModelRunner to call normalizeStreamSources(), which now does the pkg_resoruces lookup\r\n            - updating all the description files to refer to \"swarming/test_data.csv\""},"comment":{"url":"https://api.github.com/repos/numenta/nupic/issues/comments/77275545","html_url":"https://github.com/numenta/nupic/pull/1902#issuecomment-77275545","issue_url":"https://api.github.com/repos/numenta/nupic/issues/1902","id":77275545,"user":{"login":"breznak","id":2166111,"avatar_url":"https://avatars.githubusercontent.com/u/2166111?v=3","gravatar_id":"","url":"https://api.github.com/users/breznak","html_url":"https://github.com/breznak","followers_url":"https://api.github.com/users/breznak/followers","following_url":"https://api.github.com/users/breznak/following{/other_user}","gists_url":"https://api.github.com/users/breznak/gists{/gist_id}","starred_url":"https://api.github.com/users/breznak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/breznak/subscriptions","organizations_url":"https://api.github.com/users/breznak/orgs","repos_url":"https://api.github.com/users/breznak/repos","events_url":"https://api.github.com/users/breznak/events{/privacy}","received_events_url":"https://api.github.com/users/breznak/received_events","type":"User","site_admin":false},"created_at":"2015-03-04T23:41:10Z","updated_at":"2015-03-04T23:41:10Z","body":"@rhyolight u sure about the broken master? My local build is just fine, and so seems #1907 PR"}}