{"action":"created","issue":{"url":"https://api.github.com/repos/astropy/astropy/issues/7739","repository_url":"https://api.github.com/repos/astropy/astropy","labels_url":"https://api.github.com/repos/astropy/astropy/issues/7739/labels{/name}","comments_url":"https://api.github.com/repos/astropy/astropy/issues/7739/comments","events_url":"https://api.github.com/repos/astropy/astropy/issues/7739/events","html_url":"https://github.com/astropy/astropy/pull/7739","id":350651431,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA4NDUwNDEy","number":7739,"title":"Preventing CCData object from finding non-image extension data","user":{"login":"anaposses","id":36961586,"node_id":"MDQ6VXNlcjM2OTYxNTg2","avatar_url":"https://avatars3.githubusercontent.com/u/36961586?v=4","gravatar_id":"","url":"https://api.github.com/users/anaposses","html_url":"https://github.com/anaposses","followers_url":"https://api.github.com/users/anaposses/followers","following_url":"https://api.github.com/users/anaposses/following{/other_user}","gists_url":"https://api.github.com/users/anaposses/gists{/gist_id}","starred_url":"https://api.github.com/users/anaposses/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anaposses/subscriptions","organizations_url":"https://api.github.com/users/anaposses/orgs","repos_url":"https://api.github.com/users/anaposses/repos","events_url":"https://api.github.com/users/anaposses/events{/privacy}","received_events_url":"https://api.github.com/users/anaposses/received_events","type":"User","site_admin":false},"labels":[{"id":16191481,"node_id":"MDU6TGFiZWwxNjE5MTQ4MQ==","url":"https://api.github.com/repos/astropy/astropy/labels/Bug","name":"Bug","color":"d93f0b","default":false},{"id":12456819,"node_id":"MDU6TGFiZWwxMjQ1NjgxOQ==","url":"https://api.github.com/repos/astropy/astropy/labels/nddata","name":"nddata","color":"c7def8","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/astropy/astropy/milestones/62","html_url":"https://github.com/astropy/astropy/milestone/62","labels_url":"https://api.github.com/repos/astropy/astropy/milestones/62/labels","id":3522787,"node_id":"MDk6TWlsZXN0b25lMzUyMjc4Nw==","number":62,"title":"v2.0.9","description":"","creator":{"login":"bsipocz","id":6788290,"node_id":"MDQ6VXNlcjY3ODgyOTA=","avatar_url":"https://avatars1.githubusercontent.com/u/6788290?v=4","gravatar_id":"","url":"https://api.github.com/users/bsipocz","html_url":"https://github.com/bsipocz","followers_url":"https://api.github.com/users/bsipocz/followers","following_url":"https://api.github.com/users/bsipocz/following{/other_user}","gists_url":"https://api.github.com/users/bsipocz/gists{/gist_id}","starred_url":"https://api.github.com/users/bsipocz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bsipocz/subscriptions","organizations_url":"https://api.github.com/users/bsipocz/orgs","repos_url":"https://api.github.com/users/bsipocz/repos","events_url":"https://api.github.com/users/bsipocz/events{/privacy}","received_events_url":"https://api.github.com/users/bsipocz/received_events","type":"User","site_admin":false},"open_issues":11,"closed_issues":10,"state":"open","created_at":"2018-07-25T13:26:40Z","updated_at":"2018-08-15T15:36:50Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2018-08-15T01:13:22Z","updated_at":"2018-08-15T18:54:07Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/astropy/astropy/pulls/7739","html_url":"https://github.com/astropy/astropy/pull/7739","diff_url":"https://github.com/astropy/astropy/pull/7739.diff","patch_url":"https://github.com/astropy/astropy/pull/7739.patch"},"body":"_**I closed and reopen the pull request due to conflicts in several files. It turned easier just refresh the PL**_\r\n\r\nAs pointed in #7595, is the HDU is not specified, an interaction is performed on each HDU until one is found with data. However, it is not taken into account if the HDU has image extension.\r\n\r\nTherefore, I added in the interaction this condition. Since hdus.fileinfo() does not have any parameters that indicate the HDU extension, I looked for this information in hdus.info()\r\n\r\nBesides, I was supposed to provide a test for this change. It is located in test_ccddata.py, and I follow the example given in #7595. \r\n\r\nThe milestone chosen was v2.0.9, but I could change to another one if necessary :) \r\n\r\nEDIT: Superseded #7613 and #7738"},"comment":{"url":"https://api.github.com/repos/astropy/astropy/issues/comments/413298606","html_url":"https://github.com/astropy/astropy/pull/7739#issuecomment-413298606","issue_url":"https://api.github.com/repos/astropy/astropy/issues/7739","id":413298606,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMzI5ODYwNg==","user":{"login":"anaposses","id":36961586,"node_id":"MDQ6VXNlcjM2OTYxNTg2","avatar_url":"https://avatars3.githubusercontent.com/u/36961586?v=4","gravatar_id":"","url":"https://api.github.com/users/anaposses","html_url":"https://github.com/anaposses","followers_url":"https://api.github.com/users/anaposses/followers","following_url":"https://api.github.com/users/anaposses/following{/other_user}","gists_url":"https://api.github.com/users/anaposses/gists{/gist_id}","starred_url":"https://api.github.com/users/anaposses/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anaposses/subscriptions","organizations_url":"https://api.github.com/users/anaposses/orgs","repos_url":"https://api.github.com/users/anaposses/repos","events_url":"https://api.github.com/users/anaposses/events{/privacy}","received_events_url":"https://api.github.com/users/anaposses/received_events","type":"User","site_admin":false},"created_at":"2018-08-15T18:54:07Z","updated_at":"2018-08-15T18:54:07Z","author_association":"NONE","body":"It worked!"}}
{"actor":{"display_login":"anaposses"}}