{"action":"created","issue":{"url":"https://api.github.com/repos/bjmorgan/ppfit/issues/3","repository_url":"https://api.github.com/repos/bjmorgan/ppfit","labels_url":"https://api.github.com/repos/bjmorgan/ppfit/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/bjmorgan/ppfit/issues/3/comments","events_url":"https://api.github.com/repos/bjmorgan/ppfit/issues/3/events","html_url":"https://github.com/bjmorgan/ppfit/pull/3","id":134627984,"number":3,"title":"Clssmethod for config from dict","user":{"login":"connorourke","id":13691703,"avatar_url":"https://avatars.githubusercontent.com/u/13691703?v=3","gravatar_id":"","url":"https://api.github.com/users/connorourke","html_url":"https://github.com/connorourke","followers_url":"https://api.github.com/users/connorourke/followers","following_url":"https://api.github.com/users/connorourke/following{/other_user}","gists_url":"https://api.github.com/users/connorourke/gists{/gist_id}","starred_url":"https://api.github.com/users/connorourke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/connorourke/subscriptions","organizations_url":"https://api.github.com/users/connorourke/orgs","repos_url":"https://api.github.com/users/connorourke/repos","events_url":"https://api.github.com/users/connorourke/events{/privacy}","received_events_url":"https://api.github.com/users/connorourke/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-18T16:27:41Z","updated_at":"2016-02-18T16:45:20Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/bjmorgan/ppfit/pulls/3","html_url":"https://github.com/bjmorgan/ppfit/pull/3","diff_url":"https://github.com/bjmorgan/ppfit/pull/3.diff","patch_url":"https://github.com/bjmorgan/ppfit/pull/3.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/bjmorgan/ppfit/issues/comments/185809026","html_url":"https://github.com/bjmorgan/ppfit/pull/3#issuecomment-185809026","issue_url":"https://api.github.com/repos/bjmorgan/ppfit/issues/3","id":185809026,"user":{"login":"bjmorgan","id":1182923,"avatar_url":"https://avatars.githubusercontent.com/u/1182923?v=3","gravatar_id":"","url":"https://api.github.com/users/bjmorgan","html_url":"https://github.com/bjmorgan","followers_url":"https://api.github.com/users/bjmorgan/followers","following_url":"https://api.github.com/users/bjmorgan/following{/other_user}","gists_url":"https://api.github.com/users/bjmorgan/gists{/gist_id}","starred_url":"https://api.github.com/users/bjmorgan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjmorgan/subscriptions","organizations_url":"https://api.github.com/users/bjmorgan/orgs","repos_url":"https://api.github.com/users/bjmorgan/repos","events_url":"https://api.github.com/users/bjmorgan/events{/privacy}","received_events_url":"https://api.github.com/users/bjmorgan/received_events","type":"User","site_admin":false},"created_at":"2016-02-18T16:45:20Z","updated_at":"2016-02-18T16:45:20Z","body":"I think a better way would avoid passing in the entire set of configuration settings for every call to `from_dict`.\r\n\r\nI think you want something like: in `fitabinitio.py`\r\n\r\n    configs = [ Configuration.from_dict( c, options ) for c in config_read.values() ]\r\n\r\nand in `configurations.py`\r\n\r\n    @classmethod\r\n    def from_dict( cls, d, options ):\r\n        return cls(options = options,\r\n            species = d[\"species\"], …\r\n\r\nAlso, having thought about it, cutting the method name to `from_dict` or `from_config_dict` makes sense, because it's always called as `Configuration.name_of_method()`"}}