{"action":"created","issue":{"url":"https://api.github.com/repos/hoburg/gpkit/issues/609","repository_url":"https://api.github.com/repos/hoburg/gpkit","labels_url":"https://api.github.com/repos/hoburg/gpkit/issues/609/labels{/name}","comments_url":"https://api.github.com/repos/hoburg/gpkit/issues/609/comments","events_url":"https://api.github.com/repos/hoburg/gpkit/issues/609/events","html_url":"https://github.com/hoburg/gpkit/issues/609","id":143625961,"number":609,"title":"Checking whether a substitution key is actually in varkeys","user":{"login":"pgkirsch","id":8702579,"avatar_url":"https://avatars.githubusercontent.com/u/8702579?v=3","gravatar_id":"","url":"https://api.github.com/users/pgkirsch","html_url":"https://github.com/pgkirsch","followers_url":"https://api.github.com/users/pgkirsch/followers","following_url":"https://api.github.com/users/pgkirsch/following{/other_user}","gists_url":"https://api.github.com/users/pgkirsch/gists{/gist_id}","starred_url":"https://api.github.com/users/pgkirsch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pgkirsch/subscriptions","organizations_url":"https://api.github.com/users/pgkirsch/orgs","repos_url":"https://api.github.com/users/pgkirsch/repos","events_url":"https://api.github.com/users/pgkirsch/events{/privacy}","received_events_url":"https://api.github.com/users/pgkirsch/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hoburg/gpkit/labels/enhancement","name":"enhancement","color":"0052cc"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/hoburg/gpkit/milestones/13","html_url":"https://github.com/hoburg/gpkit/milestones/Next%20release","labels_url":"https://api.github.com/repos/hoburg/gpkit/milestones/13/labels","id":1608329,"number":13,"title":"Next release","description":"This contains assorted frustrations / bugs / etc that are achievable in ~ 1 month timeframe.","creator":{"login":"whoburg","id":6042395,"avatar_url":"https://avatars.githubusercontent.com/u/6042395?v=3","gravatar_id":"","url":"https://api.github.com/users/whoburg","html_url":"https://github.com/whoburg","followers_url":"https://api.github.com/users/whoburg/followers","following_url":"https://api.github.com/users/whoburg/following{/other_user}","gists_url":"https://api.github.com/users/whoburg/gists{/gist_id}","starred_url":"https://api.github.com/users/whoburg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whoburg/subscriptions","organizations_url":"https://api.github.com/users/whoburg/orgs","repos_url":"https://api.github.com/users/whoburg/repos","events_url":"https://api.github.com/users/whoburg/events{/privacy}","received_events_url":"https://api.github.com/users/whoburg/received_events","type":"User","site_admin":false},"open_issues":27,"closed_issues":19,"state":"open","created_at":"2016-02-26T16:03:40Z","updated_at":"2016-04-04T22:36:59Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2016-03-25T23:26:46Z","updated_at":"2016-04-04T23:49:39Z","closed_at":null,"body":"There have been a couple times now where I add a key:value pair to my substitution dict, but I accidentally misspell the varkey or forget an underscore or something, and then the problem solves (without the substitution I want) and I go on, blissfully unaware. One (hopefully easy) check that might be nice and would help to avoid silly user mistakes is something that ensures that all of your substitution keys are actually valid varkeys."},"comment":{"url":"https://api.github.com/repos/hoburg/gpkit/issues/comments/205548276","html_url":"https://github.com/hoburg/gpkit/issues/609#issuecomment-205548276","issue_url":"https://api.github.com/repos/hoburg/gpkit/issues/609","id":205548276,"user":{"login":"whoburg","id":6042395,"avatar_url":"https://avatars.githubusercontent.com/u/6042395?v=3","gravatar_id":"","url":"https://api.github.com/users/whoburg","html_url":"https://github.com/whoburg","followers_url":"https://api.github.com/users/whoburg/followers","following_url":"https://api.github.com/users/whoburg/following{/other_user}","gists_url":"https://api.github.com/users/whoburg/gists{/gist_id}","starred_url":"https://api.github.com/users/whoburg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whoburg/subscriptions","organizations_url":"https://api.github.com/users/whoburg/orgs","repos_url":"https://api.github.com/users/whoburg/repos","events_url":"https://api.github.com/users/whoburg/events{/privacy}","received_events_url":"https://api.github.com/users/whoburg/received_events","type":"User","site_admin":false},"created_at":"2016-04-04T23:49:39Z","updated_at":"2016-04-04T23:49:39Z","body":"agreed, and I don't have an opinion on printing vs raising yet -- happy for @bqpd to implement one and see how modelers like it.\r\n"}}