{"action":"created","issue":{"url":"https://api.github.com/repos/gammapy/gammapy/issues/1510","repository_url":"https://api.github.com/repos/gammapy/gammapy","labels_url":"https://api.github.com/repos/gammapy/gammapy/issues/1510/labels{/name}","comments_url":"https://api.github.com/repos/gammapy/gammapy/issues/1510/comments","events_url":"https://api.github.com/repos/gammapy/gammapy/issues/1510/events","html_url":"https://github.com/gammapy/gammapy/issues/1510","id":341425048,"node_id":"MDU6SXNzdWUzNDE0MjUwNDg=","number":1510,"title":"test_spectrum_analysis_iact fail","user":{"login":"cdeil","id":852409,"node_id":"MDQ6VXNlcjg1MjQwOQ==","avatar_url":"https://avatars3.githubusercontent.com/u/852409?v=4","gravatar_id":"","url":"https://api.github.com/users/cdeil","html_url":"https://github.com/cdeil","followers_url":"https://api.github.com/users/cdeil/followers","following_url":"https://api.github.com/users/cdeil/following{/other_user}","gists_url":"https://api.github.com/users/cdeil/gists{/gist_id}","starred_url":"https://api.github.com/users/cdeil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdeil/subscriptions","organizations_url":"https://api.github.com/users/cdeil/orgs","repos_url":"https://api.github.com/users/cdeil/repos","events_url":"https://api.github.com/users/cdeil/events{/privacy}","received_events_url":"https://api.github.com/users/cdeil/received_events","type":"User","site_admin":false},"labels":[{"id":39740769,"node_id":"MDU6TGFiZWwzOTc0MDc2OQ==","url":"https://api.github.com/repos/gammapy/gammapy/labels/bug","name":"bug","color":"fc2929","default":true},{"id":81671214,"node_id":"MDU6TGFiZWw4MTY3MTIxNA==","url":"https://api.github.com/repos/gammapy/gammapy/labels/tests","name":"tests","color":"009800","default":false}],"state":"open","locked":false,"assignee":{"login":"joleroi","id":11678435,"node_id":"MDQ6VXNlcjExNjc4NDM1","avatar_url":"https://avatars1.githubusercontent.com/u/11678435?v=4","gravatar_id":"","url":"https://api.github.com/users/joleroi","html_url":"https://github.com/joleroi","followers_url":"https://api.github.com/users/joleroi/followers","following_url":"https://api.github.com/users/joleroi/following{/other_user}","gists_url":"https://api.github.com/users/joleroi/gists{/gist_id}","starred_url":"https://api.github.com/users/joleroi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joleroi/subscriptions","organizations_url":"https://api.github.com/users/joleroi/orgs","repos_url":"https://api.github.com/users/joleroi/repos","events_url":"https://api.github.com/users/joleroi/events{/privacy}","received_events_url":"https://api.github.com/users/joleroi/received_events","type":"User","site_admin":false},"assignees":[{"login":"joleroi","id":11678435,"node_id":"MDQ6VXNlcjExNjc4NDM1","avatar_url":"https://avatars1.githubusercontent.com/u/11678435?v=4","gravatar_id":"","url":"https://api.github.com/users/joleroi","html_url":"https://github.com/joleroi","followers_url":"https://api.github.com/users/joleroi/followers","following_url":"https://api.github.com/users/joleroi/following{/other_user}","gists_url":"https://api.github.com/users/joleroi/gists{/gist_id}","starred_url":"https://api.github.com/users/joleroi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joleroi/subscriptions","organizations_url":"https://api.github.com/users/joleroi/orgs","repos_url":"https://api.github.com/users/joleroi/repos","events_url":"https://api.github.com/users/joleroi/events{/privacy}","received_events_url":"https://api.github.com/users/joleroi/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/gammapy/gammapy/milestones/11","html_url":"https://github.com/gammapy/gammapy/milestone/11","labels_url":"https://api.github.com/repos/gammapy/gammapy/milestones/11/labels","id":2487784,"node_id":"MDk6TWlsZXN0b25lMjQ4Nzc4NA==","number":11,"title":"0.8","description":"","creator":{"login":"cdeil","id":852409,"node_id":"MDQ6VXNlcjg1MjQwOQ==","avatar_url":"https://avatars3.githubusercontent.com/u/852409?v=4","gravatar_id":"","url":"https://api.github.com/users/cdeil","html_url":"https://github.com/cdeil","followers_url":"https://api.github.com/users/cdeil/followers","following_url":"https://api.github.com/users/cdeil/following{/other_user}","gists_url":"https://api.github.com/users/cdeil/gists{/gist_id}","starred_url":"https://api.github.com/users/cdeil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdeil/subscriptions","organizations_url":"https://api.github.com/users/cdeil/orgs","repos_url":"https://api.github.com/users/cdeil/repos","events_url":"https://api.github.com/users/cdeil/events{/privacy}","received_events_url":"https://api.github.com/users/cdeil/received_events","type":"User","site_admin":false},"open_issues":36,"closed_issues":199,"state":"open","created_at":"2017-04-28T09:17:03Z","updated_at":"2018-07-16T13:29:22Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2018-07-16T08:11:39Z","updated_at":"2018-07-16T14:00:01Z","closed_at":null,"author_association":"MEMBER","body":"This test:\r\nhttps://github.com/gammapy/gammapy/blob/8010f910e458d464002aae8646c46ec26069f0f5/gammapy/scripts/tests/test_spectrum_pipe.py#L32\r\n\r\nis failing in this build because the `dnde` changed a little bit:\r\nhttps://travis-ci.org/gammapy/gammapy/jobs/404319697#L3770\r\n\r\nLocally I don't see the fail, I get the same expected values that are currently in the test file.\r\nThis is not failing in all builds, I don't know whats going on.\r\n\r\n@joleroi - Any idea?"},"comment":{"url":"https://api.github.com/repos/gammapy/gammapy/issues/comments/405256895","html_url":"https://github.com/gammapy/gammapy/issues/1510#issuecomment-405256895","issue_url":"https://api.github.com/repos/gammapy/gammapy/issues/1510","id":405256895,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNTI1Njg5NQ==","user":{"login":"cdeil","id":852409,"node_id":"MDQ6VXNlcjg1MjQwOQ==","avatar_url":"https://avatars3.githubusercontent.com/u/852409?v=4","gravatar_id":"","url":"https://api.github.com/users/cdeil","html_url":"https://github.com/cdeil","followers_url":"https://api.github.com/users/cdeil/followers","following_url":"https://api.github.com/users/cdeil/following{/other_user}","gists_url":"https://api.github.com/users/cdeil/gists{/gist_id}","starred_url":"https://api.github.com/users/cdeil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdeil/subscriptions","organizations_url":"https://api.github.com/users/cdeil/orgs","repos_url":"https://api.github.com/users/cdeil/repos","events_url":"https://api.github.com/users/cdeil/events{/privacy}","received_events_url":"https://api.github.com/users/cdeil/received_events","type":"User","site_admin":false},"created_at":"2018-07-16T14:00:01Z","updated_at":"2018-07-16T14:00:01Z","author_association":"MEMBER","body":"But for me, locally with `master`, I get exactly the values as written in the test file.\r\n\r\nAdding this line in the test:\r\n```\r\nprint(dnde); flux_points.table.pprint(max_width=-1); 1/0\r\n```\r\nI get these numbers: https://gist.github.com/cdeil/b1ccf760fcfc03711c6d0d2d2338fd88\r\n\r\n@joleroi - Could you please try that also and past the result?\r\nMaybe it's a float rounding issue where the energy bins are slightly different for you and me?"}}
{"actor":{"display_login":"cdeil"}}