{"action":"created","issue":{"url":"https://api.github.com/repos/astropy/ccdproc/issues/426","repository_url":"https://api.github.com/repos/astropy/ccdproc","labels_url":"https://api.github.com/repos/astropy/ccdproc/issues/426/labels{/name}","comments_url":"https://api.github.com/repos/astropy/ccdproc/issues/426/comments","events_url":"https://api.github.com/repos/astropy/ccdproc/issues/426/events","html_url":"https://github.com/astropy/ccdproc/pull/426","id":191184209,"number":426,"title":"Use NDArithmeticMixin methods if astropy >= 1.2","user":{"login":"MSeifert04","id":14200878,"avatar_url":"https://avatars.githubusercontent.com/u/14200878?v=3","gravatar_id":"","url":"https://api.github.com/users/MSeifert04","html_url":"https://github.com/MSeifert04","followers_url":"https://api.github.com/users/MSeifert04/followers","following_url":"https://api.github.com/users/MSeifert04/following{/other_user}","gists_url":"https://api.github.com/users/MSeifert04/gists{/gist_id}","starred_url":"https://api.github.com/users/MSeifert04/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MSeifert04/subscriptions","organizations_url":"https://api.github.com/users/MSeifert04/orgs","repos_url":"https://api.github.com/users/MSeifert04/repos","events_url":"https://api.github.com/users/MSeifert04/events{/privacy}","received_events_url":"https://api.github.com/users/MSeifert04/received_events","type":"User","site_admin":false},"labels":[{"id":97586235,"url":"https://api.github.com/repos/astropy/ccdproc/labels/CCDData","name":"CCDData","color":"fef2c0","default":false},{"id":59747078,"url":"https://api.github.com/repos/astropy/ccdproc/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/astropy/ccdproc/milestones/5","html_url":"https://github.com/astropy/ccdproc/milestone/5","labels_url":"https://api.github.com/repos/astropy/ccdproc/milestones/5/labels","id":743994,"number":5,"title":"someday","description":"","creator":{"login":"mwcraig","id":1147167,"avatar_url":"https://avatars.githubusercontent.com/u/1147167?v=3","gravatar_id":"","url":"https://api.github.com/users/mwcraig","html_url":"https://github.com/mwcraig","followers_url":"https://api.github.com/users/mwcraig/followers","following_url":"https://api.github.com/users/mwcraig/following{/other_user}","gists_url":"https://api.github.com/users/mwcraig/gists{/gist_id}","starred_url":"https://api.github.com/users/mwcraig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwcraig/subscriptions","organizations_url":"https://api.github.com/users/mwcraig/orgs","repos_url":"https://api.github.com/users/mwcraig/repos","events_url":"https://api.github.com/users/mwcraig/events{/privacy}","received_events_url":"https://api.github.com/users/mwcraig/received_events","type":"User","site_admin":false},"open_issues":24,"closed_issues":3,"state":"open","created_at":"2014-08-05T18:40:21Z","updated_at":"2016-12-07T17:41:52Z","due_on":null,"closed_at":null},"comments":11,"created_at":"2016-11-23T03:58:24Z","updated_at":"2016-12-10T07:04:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/astropy/ccdproc/pulls/426","html_url":"https://github.com/astropy/ccdproc/pull/426","diff_url":"https://github.com/astropy/ccdproc/pull/426.diff","patch_url":"https://github.com/astropy/ccdproc/pull/426.patch"},"body":"Please have a look at the following list and replace the \"[ ]\" with a \"[x]\" if\r\nthe answer to this question is yes.\r\n\r\n- [ ] For new contributors: Did you add yourself to the \"Authors.rst\" file?\r\n\r\nFor documentation changes:\r\n\r\n- [ ] For documentation changes: Does your commit message include a \"[skip ci]\"?\r\n      Note that it should not if you changed any examples!\r\n\r\nFor bugfixes:\r\n\r\n- [ ] Did you add an entry to the \"Changes.rst\" file?\r\n- [ ] Did you add a regression test?\r\n- [ ] Does the commit message include a \"Fixes #issue_number\" (replace \"issue_number\").\r\n- [ ] Does this PR add, rename, move or remove any existing functions or parameters?\r\n\r\nFor new functionality:\r\n\r\n- [ ] Did you add an entry to the \"Changes.rst\" file?\r\n- [ ] Did you include a meaningful docstring with Parameters, Returns and Examples?\r\n- [ ] Does the commit message include a \"Fixes #issue_number\" (replace \"issue_number\").\r\n- [ ] Did you include tests for the new functionality?\r\n- [x] Does this PR add, rename, move or remove any existing functions or parameters?\r\n\r\nPlease note that the last point is not a requirement. It is meant as a check if\r\nthe pull request potentially breaks backwards-compatibility.\r\n\r\n-----------------------------------------\r\n\r\nThis is currently work-in-progress. But since the astropy 1.2 release I wanted to give this a shot.\r\n\r\nIt uses the `NDArithmeticMixin` methods for add/subtract/multiply/divide, which allows to use CCDData in arithmetic operations with numpy-arrays, scalars and some other objects. For this to work I needed to remove the mandatory `CCDData` unit - because `NDArithmeticMixin` converts the second operator to a `CCDData` which fails if it's a numpy.ndarray or scalar."},"comment":{"url":"https://api.github.com/repos/astropy/ccdproc/issues/comments/266184123","html_url":"https://github.com/astropy/ccdproc/pull/426#issuecomment-266184123","issue_url":"https://api.github.com/repos/astropy/ccdproc/issues/426","id":266184123,"user":{"login":"MSeifert04","id":14200878,"avatar_url":"https://avatars.githubusercontent.com/u/14200878?v=3","gravatar_id":"","url":"https://api.github.com/users/MSeifert04","html_url":"https://github.com/MSeifert04","followers_url":"https://api.github.com/users/MSeifert04/followers","following_url":"https://api.github.com/users/MSeifert04/following{/other_user}","gists_url":"https://api.github.com/users/MSeifert04/gists{/gist_id}","starred_url":"https://api.github.com/users/MSeifert04/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MSeifert04/subscriptions","organizations_url":"https://api.github.com/users/MSeifert04/orgs","repos_url":"https://api.github.com/users/MSeifert04/repos","events_url":"https://api.github.com/users/MSeifert04/events{/privacy}","received_events_url":"https://api.github.com/users/MSeifert04/received_events","type":"User","site_admin":false},"created_at":"2016-12-10T07:04:58Z","updated_at":"2016-12-10T07:04:58Z","body":"The astropy-dev failure bugfix is in #435 so this will fail the corresponding travis test. But the test before the \"bugfix\" reversal passed."}}
{"actor":{"display_login":"MSeifert04"}}