{"action":"created","issue":{"url":"https://api.github.com/repos/hveto/hveto/issues/19","repository_url":"https://api.github.com/repos/hveto/hveto","labels_url":"https://api.github.com/repos/hveto/hveto/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/hveto/hveto/issues/19/comments","events_url":"https://api.github.com/repos/hveto/hveto/issues/19/events","html_url":"https://github.com/hveto/hveto/pull/19","id":152666797,"number":19,"title":"Handle null analysis gracefully","user":{"login":"duncanmmacleod","id":1618530,"avatar_url":"https://avatars.githubusercontent.com/u/1618530?v=3","gravatar_id":"","url":"https://api.github.com/users/duncanmmacleod","html_url":"https://github.com/duncanmmacleod","followers_url":"https://api.github.com/users/duncanmmacleod/followers","following_url":"https://api.github.com/users/duncanmmacleod/following{/other_user}","gists_url":"https://api.github.com/users/duncanmmacleod/gists{/gist_id}","starred_url":"https://api.github.com/users/duncanmmacleod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duncanmmacleod/subscriptions","organizations_url":"https://api.github.com/users/duncanmmacleod/orgs","repos_url":"https://api.github.com/users/duncanmmacleod/repos","events_url":"https://api.github.com/users/duncanmmacleod/events{/privacy}","received_events_url":"https://api.github.com/users/duncanmmacleod/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hveto/hveto/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/hveto/hveto/labels/html","name":"html","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-05-02T23:14:57Z","updated_at":"2016-05-03T16:40:10Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/hveto/hveto/pulls/19","html_url":"https://github.com/hveto/hveto/pull/19","diff_url":"https://github.com/hveto/hveto/pull/19.diff","patch_url":"https://github.com/hveto/hveto/pull/19.patch"},"body":"This PR fixes #17 by exiting the analysis early under any of the following\r\n    \r\n- no active segments found for analysis-flag (zero livtime)\r\n- no triggers found for primary channel\r\n- no rounds with significance above threshold\r\n    \r\nThis also includes an HTML stub with an alert div highlighting why there are no results, e.g. when there are no rounds above threshold:\r\n\r\n![image](https://cloud.githubusercontent.com/assets/1618530/14970806/ab076766-1091-11e6-9f02-4c8a4ee9335b.png)\r\n\r\n**This analysis result was faked for testing purposes**"},"comment":{"url":"https://api.github.com/repos/hveto/hveto/issues/comments/216588713","html_url":"https://github.com/hveto/hveto/pull/19#issuecomment-216588713","issue_url":"https://api.github.com/repos/hveto/hveto/issues/19","id":216588713,"user":{"login":"duncanmmacleod","id":1618530,"avatar_url":"https://avatars.githubusercontent.com/u/1618530?v=3","gravatar_id":"","url":"https://api.github.com/users/duncanmmacleod","html_url":"https://github.com/duncanmmacleod","followers_url":"https://api.github.com/users/duncanmmacleod/followers","following_url":"https://api.github.com/users/duncanmmacleod/following{/other_user}","gists_url":"https://api.github.com/users/duncanmmacleod/gists{/gist_id}","starred_url":"https://api.github.com/users/duncanmmacleod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duncanmmacleod/subscriptions","organizations_url":"https://api.github.com/users/duncanmmacleod/orgs","repos_url":"https://api.github.com/users/duncanmmacleod/repos","events_url":"https://api.github.com/users/duncanmmacleod/events{/privacy}","received_events_url":"https://api.github.com/users/duncanmmacleod/received_events","type":"User","site_admin":false},"created_at":"2016-05-03T16:40:09Z","updated_at":"2016-05-03T16:40:09Z","body":"@areeda, I think you're suggestion that all of the above cases should exit cleanly with code 0, since they are all valid null results, either that or the upstream trigger production broke - which isn't hveto's fault.\r\n\r\nWith the new HTML setup, my summary pages would just pick up the hveto output regardless of results and dump it in."}}