{"action":"created","issue":{"url":"https://api.github.com/repos/numenta/nupic/issues/1929","labels_url":"https://api.github.com/repos/numenta/nupic/issues/1929/labels{/name}","comments_url":"https://api.github.com/repos/numenta/nupic/issues/1929/comments","events_url":"https://api.github.com/repos/numenta/nupic/issues/1929/events","html_url":"https://github.com/numenta/nupic/pull/1929","id":62396000,"number":1929,"title":"expose model globally (to Metric etc)","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},"labels":[{"url":"https://api.github.com/repos/numenta/nupic/labels/ready","name":"ready","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/numenta/nupic/milestones/44","html_url":"https://github.com/numenta/nupic/milestones/0.6.0:%20features","labels_url":"https://api.github.com/repos/numenta/nupic/milestones/44/labels","id":944501,"number":44,"title":"0.6.0: features","description":"Optimizations and new features.","creator":{"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},"open_issues":27,"closed_issues":7,"state":"open","created_at":"2015-01-21T00:02:36Z","updated_at":"2015-03-17T13:25:57Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-03-17T13:25:24Z","updated_at":"2015-03-17T13:27:44Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/numenta/nupic/pulls/1929","html_url":"https://github.com/numenta/nupic/pull/1929","diff_url":"https://github.com/numenta/nupic/pull/1929.diff","patch_url":"https://github.com/numenta/nupic/pull/1929.patch"},"body":"Fixes: #1842 \r\n\r\nthis PR allows to name a model (in constructor() or in `config['name']` of `description.py`) \r\nand access it from any part of code via `ModelFactory.getGlobalModel(name)`\r\n\r\nThis would unblock work on : AnomalyMetric, SpeedMetric, some additional works on ANomaly class, ...\r\n"},"comment":{"url":"https://api.github.com/repos/numenta/nupic/issues/comments/82349451","html_url":"https://github.com/numenta/nupic/pull/1929#issuecomment-82349451","issue_url":"https://api.github.com/repos/numenta/nupic/issues/1929","id":82349451,"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-17T13:27:44Z","updated_at":"2015-03-17T13:27:44Z","body":"@scottpurdy @oxtopus please review. I try to keep this PR small, it's blocking my further goals now."}}