{"action":"created","issue":{"url":"https://api.github.com/repos/GPflow/GPflow/issues/191","repository_url":"https://api.github.com/repos/GPflow/GPflow","labels_url":"https://api.github.com/repos/GPflow/GPflow/issues/191/labels{/name}","comments_url":"https://api.github.com/repos/GPflow/GPflow/issues/191/comments","events_url":"https://api.github.com/repos/GPflow/GPflow/issues/191/events","html_url":"https://github.com/GPflow/GPflow/pull/191","id":174495872,"number":191,"title":"Config","user":{"login":"jameshensman","id":154383,"avatar_url":"https://avatars.githubusercontent.com/u/154383?v=3","gravatar_id":"","url":"https://api.github.com/users/jameshensman","html_url":"https://github.com/jameshensman","followers_url":"https://api.github.com/users/jameshensman/followers","following_url":"https://api.github.com/users/jameshensman/following{/other_user}","gists_url":"https://api.github.com/users/jameshensman/gists{/gist_id}","starred_url":"https://api.github.com/users/jameshensman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jameshensman/subscriptions","organizations_url":"https://api.github.com/users/jameshensman/orgs","repos_url":"https://api.github.com/users/jameshensman/repos","events_url":"https://api.github.com/users/jameshensman/events{/privacy}","received_events_url":"https://api.github.com/users/jameshensman/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/GPflow/GPflow/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/GPflow/GPflow/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":{"login":"alexggmatthews","id":6596998,"avatar_url":"https://avatars.githubusercontent.com/u/6596998?v=3","gravatar_id":"","url":"https://api.github.com/users/alexggmatthews","html_url":"https://github.com/alexggmatthews","followers_url":"https://api.github.com/users/alexggmatthews/followers","following_url":"https://api.github.com/users/alexggmatthews/following{/other_user}","gists_url":"https://api.github.com/users/alexggmatthews/gists{/gist_id}","starred_url":"https://api.github.com/users/alexggmatthews/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexggmatthews/subscriptions","organizations_url":"https://api.github.com/users/alexggmatthews/orgs","repos_url":"https://api.github.com/users/alexggmatthews/repos","events_url":"https://api.github.com/users/alexggmatthews/events{/privacy}","received_events_url":"https://api.github.com/users/alexggmatthews/received_events","type":"User","site_admin":false},"assignees":[{"login":"alexggmatthews","id":6596998,"avatar_url":"https://avatars.githubusercontent.com/u/6596998?v=3","gravatar_id":"","url":"https://api.github.com/users/alexggmatthews","html_url":"https://github.com/alexggmatthews","followers_url":"https://api.github.com/users/alexggmatthews/followers","following_url":"https://api.github.com/users/alexggmatthews/following{/other_user}","gists_url":"https://api.github.com/users/alexggmatthews/gists{/gist_id}","starred_url":"https://api.github.com/users/alexggmatthews/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexggmatthews/subscriptions","organizations_url":"https://api.github.com/users/alexggmatthews/orgs","repos_url":"https://api.github.com/users/alexggmatthews/repos","events_url":"https://api.github.com/users/alexggmatthews/events{/privacy}","received_events_url":"https://api.github.com/users/alexggmatthews/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2016-09-01T11:04:42Z","updated_at":"2016-09-08T14:38:48Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/GPflow/GPflow/pulls/191","html_url":"https://github.com/GPflow/GPflow/pull/191","diff_url":"https://github.com/GPflow/GPflow/pull/191.diff","patch_url":"https://github.com/GPflow/GPflow/pull/191.patch"},"body":"Here's a proposal for how a config might work. \r\n\r\nThree things of note. \r\n\r\n1) I used the official python config style, and the built-in configparser. No extra dependencies. Should work in python 2 and 3 (I tried it on 3). \r\n\r\n2) I search for the config file in three places:\r\n - the current directory\r\n - the user's home directory\r\n - the GPflow directory\r\n\r\nThis means that we can distribute demos with gpflowrc tailored to the demo (in the same dir); users can set their own preferences if they wish; new users don't need to do anything.\r\n\r\n3) I used the namedtuple class to make accessing the settings easy. You can type\r\n```python\r\njitter = GPflow.settings.numerics.jitter_level\r\n```\r\n\r\n...but you can't assign! Sorry @markvdw.\r\n\r\nDiscuss."},"comment":{"url":"https://api.github.com/repos/GPflow/GPflow/issues/comments/245619261","html_url":"https://github.com/GPflow/GPflow/pull/191#issuecomment-245619261","issue_url":"https://api.github.com/repos/GPflow/GPflow/issues/191","id":245619261,"user":{"login":"alexggmatthews","id":6596998,"avatar_url":"https://avatars.githubusercontent.com/u/6596998?v=3","gravatar_id":"","url":"https://api.github.com/users/alexggmatthews","html_url":"https://github.com/alexggmatthews","followers_url":"https://api.github.com/users/alexggmatthews/followers","following_url":"https://api.github.com/users/alexggmatthews/following{/other_user}","gists_url":"https://api.github.com/users/alexggmatthews/gists{/gist_id}","starred_url":"https://api.github.com/users/alexggmatthews/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexggmatthews/subscriptions","organizations_url":"https://api.github.com/users/alexggmatthews/orgs","repos_url":"https://api.github.com/users/alexggmatthews/repos","events_url":"https://api.github.com/users/alexggmatthews/events{/privacy}","received_events_url":"https://api.github.com/users/alexggmatthews/received_events","type":"User","site_admin":false},"created_at":"2016-09-08T14:38:47Z","updated_at":"2016-09-08T14:38:47Z","body":"@jameshensman if you get that short unit test in I'm happy to merge this one also. "}}
{"actor":{"display_login":"alexggmatthews"}}