Skip to content
Snippets Groups Projects
Commit b78d40df authored by David Rafferty's avatar David Rafferty
Browse files

Task #3743: Fix to pyfits.getheader() call.

parent c1f29443
Branches
Tags
No related merge requests found
......@@ -1183,7 +1183,7 @@ def convert_pyrap_header(pyrap_image):
tfile = tempfile.NamedTemporaryFile(delete=False)
pyrap_image.tofits(tfile.name)
hdr = pyfits.get_header(tfile.name)
hdr = pyfits.getheader(tfile.name)
return hdr
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment