{"action":"created","issue":{"url":"https://api.github.com/repos/saltastro/polsalt/issues/44","repository_url":"https://api.github.com/repos/saltastro/polsalt","labels_url":"https://api.github.com/repos/saltastro/polsalt/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/saltastro/polsalt/issues/44/comments","events_url":"https://api.github.com/repos/saltastro/polsalt/issues/44/events","html_url":"https://github.com/saltastro/polsalt/issues/44","id":190282736,"number":44,"title":"Problem updating FITS header using pyfits 3.4","user":{"login":"dgroenewald","id":23074041,"avatar_url":"https://avatars.githubusercontent.com/u/23074041?v=3","gravatar_id":"","url":"https://api.github.com/users/dgroenewald","html_url":"https://github.com/dgroenewald","followers_url":"https://api.github.com/users/dgroenewald/followers","following_url":"https://api.github.com/users/dgroenewald/following{/other_user}","gists_url":"https://api.github.com/users/dgroenewald/gists{/gist_id}","starred_url":"https://api.github.com/users/dgroenewald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgroenewald/subscriptions","organizations_url":"https://api.github.com/users/dgroenewald/orgs","repos_url":"https://api.github.com/users/dgroenewald/repos","events_url":"https://api.github.com/users/dgroenewald/events{/privacy}","received_events_url":"https://api.github.com/users/dgroenewald/received_events","type":"User","site_admin":false},"labels":[{"id":301433622,"url":"https://api.github.com/repos/saltastro/polsalt/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":{"login":"dgroenewald","id":23074041,"avatar_url":"https://avatars.githubusercontent.com/u/23074041?v=3","gravatar_id":"","url":"https://api.github.com/users/dgroenewald","html_url":"https://github.com/dgroenewald","followers_url":"https://api.github.com/users/dgroenewald/followers","following_url":"https://api.github.com/users/dgroenewald/following{/other_user}","gists_url":"https://api.github.com/users/dgroenewald/gists{/gist_id}","starred_url":"https://api.github.com/users/dgroenewald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgroenewald/subscriptions","organizations_url":"https://api.github.com/users/dgroenewald/orgs","repos_url":"https://api.github.com/users/dgroenewald/repos","events_url":"https://api.github.com/users/dgroenewald/events{/privacy}","received_events_url":"https://api.github.com/users/dgroenewald/received_events","type":"User","site_admin":false},"assignees":[{"login":"dgroenewald","id":23074041,"avatar_url":"https://avatars.githubusercontent.com/u/23074041?v=3","gravatar_id":"","url":"https://api.github.com/users/dgroenewald","html_url":"https://github.com/dgroenewald","followers_url":"https://api.github.com/users/dgroenewald/followers","following_url":"https://api.github.com/users/dgroenewald/following{/other_user}","gists_url":"https://api.github.com/users/dgroenewald/gists{/gist_id}","starred_url":"https://api.github.com/users/dgroenewald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgroenewald/subscriptions","organizations_url":"https://api.github.com/users/dgroenewald/orgs","repos_url":"https://api.github.com/users/dgroenewald/repos","events_url":"https://api.github.com/users/dgroenewald/events{/privacy}","received_events_url":"https://api.github.com/users/dgroenewald/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2016-11-18T10:16:00Z","updated_at":"2016-11-18T17:54:20Z","closed_at":null,"body":"Ran reducepoldata.py using pyfits 3.4. \r\nGot the following error. \r\n```\r\nTraceback (most recent call last):\r\n  File \"scripts/reducepoldata.py\", line 43, in <module>\r\n    specpolwavmap(infile_list, linelistlib=linelistlib, logfile=logfile)\r\n  File \"/home/dviljoen/.conda/envs/iraf27/lib/python2.7/site-packages/polsalt/specpolwavmap.py\", line 108, in specpolwavmap\r\n    for f in ('SCI','VAR','BPM','WAV'): hdu[f].header.update('CTYPE3','O,E')\r\n  File \"/home/dviljoen/.conda/envs/iraf27/lib/python2.7/site-packages/pyfits/header.py\", line 1017, in update\r\n    'value, and comment string.' % idx)\r\nValueError: Header update sequence item #0 is invalid; the item must either be a 2-tuple containing a keyword and value, or a 3-tuple containing a keyword, value, and comment string.\r\nSegmentation fault (core dumped)\r\n```\r\nCause: syntax used in script to update header of FITS is based on pyfits 3.3 and has since been deprecated. \r\nThe above syntax in the script should be updated for the latest pyfits version (v3.4)."},"comment":{"url":"https://api.github.com/repos/saltastro/polsalt/issues/comments/261596831","html_url":"https://github.com/saltastro/polsalt/issues/44#issuecomment-261596831","issue_url":"https://api.github.com/repos/saltastro/polsalt/issues/44","id":261596831,"user":{"login":"crawfordsm","id":1107188,"avatar_url":"https://avatars.githubusercontent.com/u/1107188?v=3","gravatar_id":"","url":"https://api.github.com/users/crawfordsm","html_url":"https://github.com/crawfordsm","followers_url":"https://api.github.com/users/crawfordsm/followers","following_url":"https://api.github.com/users/crawfordsm/following{/other_user}","gists_url":"https://api.github.com/users/crawfordsm/gists{/gist_id}","starred_url":"https://api.github.com/users/crawfordsm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crawfordsm/subscriptions","organizations_url":"https://api.github.com/users/crawfordsm/orgs","repos_url":"https://api.github.com/users/crawfordsm/repos","events_url":"https://api.github.com/users/crawfordsm/events{/privacy}","received_events_url":"https://api.github.com/users/crawfordsm/received_events","type":"User","site_admin":false},"created_at":"2016-11-18T17:54:20Z","updated_at":"2016-11-18T17:54:20Z","body":"Correct--adding the extra parenthesis would be the necessary fix (there is one other spot in the code that needs to be fixed as well). "}}
{"actor":{"display_login":"crawfordsm"}}