{"action":"created","issue":{"url":"https://api.github.com/repos/JGCRI/xanthos/issues/28","repository_url":"https://api.github.com/repos/JGCRI/xanthos","labels_url":"https://api.github.com/repos/JGCRI/xanthos/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/JGCRI/xanthos/issues/28/comments","events_url":"https://api.github.com/repos/JGCRI/xanthos/issues/28/events","html_url":"https://github.com/JGCRI/xanthos/issues/28","id":385292878,"node_id":"MDU6SXNzdWUzODUyOTI4Nzg=","number":28,"title":"Read first command-line argument as config file","user":{"login":"calebbraun","id":12344924,"node_id":"MDQ6VXNlcjEyMzQ0OTI0","avatar_url":"https://avatars3.githubusercontent.com/u/12344924?v=4","gravatar_id":"","url":"https://api.github.com/users/calebbraun","html_url":"https://github.com/calebbraun","followers_url":"https://api.github.com/users/calebbraun/followers","following_url":"https://api.github.com/users/calebbraun/following{/other_user}","gists_url":"https://api.github.com/users/calebbraun/gists{/gist_id}","starred_url":"https://api.github.com/users/calebbraun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calebbraun/subscriptions","organizations_url":"https://api.github.com/users/calebbraun/orgs","repos_url":"https://api.github.com/users/calebbraun/repos","events_url":"https://api.github.com/users/calebbraun/events{/privacy}","received_events_url":"https://api.github.com/users/calebbraun/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-28T14:27:25Z","updated_at":"2018-11-28T14:38:43Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Running Xanthos from the command line requires the first (only) argument to be the configuration file:\r\n\r\n```\r\npython xanthos/model.py example/pm_abcd_mrtm.ini\r\n```\r\n\r\nThis errors because the flag `-config_file` was not specified. We should assume any extra argument is the `-config_file` parameter."},"comment":{"url":"https://api.github.com/repos/JGCRI/xanthos/issues/comments/442469127","html_url":"https://github.com/JGCRI/xanthos/issues/28#issuecomment-442469127","issue_url":"https://api.github.com/repos/JGCRI/xanthos/issues/28","id":442469127,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MjQ2OTEyNw==","user":{"login":"rplzzz","id":7209964,"node_id":"MDQ6VXNlcjcyMDk5NjQ=","avatar_url":"https://avatars0.githubusercontent.com/u/7209964?v=4","gravatar_id":"","url":"https://api.github.com/users/rplzzz","html_url":"https://github.com/rplzzz","followers_url":"https://api.github.com/users/rplzzz/followers","following_url":"https://api.github.com/users/rplzzz/following{/other_user}","gists_url":"https://api.github.com/users/rplzzz/gists{/gist_id}","starred_url":"https://api.github.com/users/rplzzz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rplzzz/subscriptions","organizations_url":"https://api.github.com/users/rplzzz/orgs","repos_url":"https://api.github.com/users/rplzzz/repos","events_url":"https://api.github.com/users/rplzzz/events{/privacy}","received_events_url":"https://api.github.com/users/rplzzz/received_events","type":"User","site_admin":false},"created_at":"2018-11-28T14:38:43Z","updated_at":"2018-11-28T14:38:43Z","author_association":"MEMBER","body":"If that's the intended use, then why not just drop the `-` in this line?\r\nhttps://github.com/JGCRI/xanthos/blob/44dbf9b8bd5fda6795c1cf5dff4971d59ccaacc3/xanthos/model.py#L133\r\nThat should make the configuration file a positional rather than flag-type argument."}}
{"actor":{"display_login":"rplzzz"}}