{"action":"created","issue":{"url":"https://api.github.com/repos/ebi-uniprot/QuickGoFE/issues/54","repository_url":"https://api.github.com/repos/ebi-uniprot/QuickGoFE","labels_url":"https://api.github.com/repos/ebi-uniprot/QuickGoFE/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/ebi-uniprot/QuickGoFE/issues/54/comments","events_url":"https://api.github.com/repos/ebi-uniprot/QuickGoFE/issues/54/events","html_url":"https://github.com/ebi-uniprot/QuickGoFE/pull/54","id":139548406,"number":54,"title":"Fix eco charts. ","user":{"login":"TonyWardell","id":8235630,"avatar_url":"https://avatars.githubusercontent.com/u/8235630?v=3","gravatar_id":"","url":"https://api.github.com/users/TonyWardell","html_url":"https://github.com/TonyWardell","followers_url":"https://api.github.com/users/TonyWardell/followers","following_url":"https://api.github.com/users/TonyWardell/following{/other_user}","gists_url":"https://api.github.com/users/TonyWardell/gists{/gist_id}","starred_url":"https://api.github.com/users/TonyWardell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TonyWardell/subscriptions","organizations_url":"https://api.github.com/users/TonyWardell/orgs","repos_url":"https://api.github.com/users/TonyWardell/repos","events_url":"https://api.github.com/users/TonyWardell/events{/privacy}","received_events_url":"https://api.github.com/users/TonyWardell/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-09T11:18:28Z","updated_at":"2016-03-09T11:41:35Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ebi-uniprot/QuickGoFE/pulls/54","html_url":"https://github.com/ebi-uniprot/QuickGoFE/pull/54","diff_url":"https://github.com/ebi-uniprot/QuickGoFE/pull/54.diff","patch_url":"https://github.com/ebi-uniprot/QuickGoFE/pull/54.patch"},"body":"ECO should be passed into as the scope if ECO (NOT GO which never needs to be passed in as its the default)."},"comment":{"url":"https://api.github.com/repos/ebi-uniprot/QuickGoFE/issues/comments/194257257","html_url":"https://github.com/ebi-uniprot/QuickGoFE/pull/54#issuecomment-194257257","issue_url":"https://api.github.com/repos/ebi-uniprot/QuickGoFE/issues/54","id":194257257,"user":{"login":"xwatkins","id":3329765,"avatar_url":"https://avatars.githubusercontent.com/u/3329765?v=3","gravatar_id":"","url":"https://api.github.com/users/xwatkins","html_url":"https://github.com/xwatkins","followers_url":"https://api.github.com/users/xwatkins/followers","following_url":"https://api.github.com/users/xwatkins/following{/other_user}","gists_url":"https://api.github.com/users/xwatkins/gists{/gist_id}","starred_url":"https://api.github.com/users/xwatkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xwatkins/subscriptions","organizations_url":"https://api.github.com/users/xwatkins/orgs","repos_url":"https://api.github.com/users/xwatkins/repos","events_url":"https://api.github.com/users/xwatkins/events{/privacy}","received_events_url":"https://api.github.com/users/xwatkins/received_events","type":"User","site_admin":false},"created_at":"2016-03-09T11:41:35Z","updated_at":"2016-03-09T11:41:35Z","body":"There is a \"graphModel\" object passed to the controller, which contains the graphModel.scope ('ECO' or 'GO'). I think it would be best to remove that 'scope' from the graphmodel for every call if we are checking the id for the prefix instead.\r\n\r\nThe function $scope.newWindow in ontologyGraph.js also calls a chart function and passes  $scope.graphModel.scope - this should be changed accordingly too."}}