{"action":"created","issue":{"url":"https://api.github.com/repos/achabotl/pambox/issues/37","labels_url":"https://api.github.com/repos/achabotl/pambox/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/achabotl/pambox/issues/37/comments","events_url":"https://api.github.com/repos/achabotl/pambox/issues/37/events","html_url":"https://github.com/achabotl/pambox/issues/37","id":75948138,"number":37,"title":"SRT calculation fails if model_srts is defined but the model is not in results","user":{"login":"achabotl","id":479013,"avatar_url":"https://avatars.githubusercontent.com/u/479013?v=3","gravatar_id":"","url":"https://api.github.com/users/achabotl","html_url":"https://github.com/achabotl","followers_url":"https://api.github.com/users/achabotl/followers","following_url":"https://api.github.com/users/achabotl/following{/other_user}","gists_url":"https://api.github.com/users/achabotl/gists{/gist_id}","starred_url":"https://api.github.com/users/achabotl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/achabotl/subscriptions","organizations_url":"https://api.github.com/users/achabotl/orgs","repos_url":"https://api.github.com/users/achabotl/repos","events_url":"https://api.github.com/users/achabotl/events{/privacy}","received_events_url":"https://api.github.com/users/achabotl/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-13T11:13:48Z","updated_at":"2015-05-13T11:16:22Z","closed_at":"2015-05-13T11:16:22Z","body":"The `srts_from_df` method crashes if `model_srts` is defined but the models are not in the dataframe. The issues is that the `aggregate` method ends up with functions for columns that don't exist. \r\n\r\nThis should be fixed by adding the `model_srts` values only if the model--output pair exists in the data frame."},"comment":{"url":"https://api.github.com/repos/achabotl/pambox/issues/comments/101630660","html_url":"https://github.com/achabotl/pambox/issues/37#issuecomment-101630660","issue_url":"https://api.github.com/repos/achabotl/pambox/issues/37","id":101630660,"user":{"login":"achabotl","id":479013,"avatar_url":"https://avatars.githubusercontent.com/u/479013?v=3","gravatar_id":"","url":"https://api.github.com/users/achabotl","html_url":"https://github.com/achabotl","followers_url":"https://api.github.com/users/achabotl/followers","following_url":"https://api.github.com/users/achabotl/following{/other_user}","gists_url":"https://api.github.com/users/achabotl/gists{/gist_id}","starred_url":"https://api.github.com/users/achabotl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/achabotl/subscriptions","organizations_url":"https://api.github.com/users/achabotl/orgs","repos_url":"https://api.github.com/users/achabotl/repos","events_url":"https://api.github.com/users/achabotl/events{/privacy}","received_events_url":"https://api.github.com/users/achabotl/received_events","type":"User","site_admin":false},"created_at":"2015-05-13T11:16:22Z","updated_at":"2015-05-13T11:16:22Z","body":"Fixed by d692e40."}}