Skip to content

Commit

Permalink
remove deprecated fits calls
Browse files Browse the repository at this point in the history
  • Loading branch information
nden authored and pllim committed Jan 19, 2017
1 parent 6922269 commit c44119e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/stsci/tools/convertwaiveredfits.py
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ def toMultiExtensionFits(waiveredObject,
kw_descr = ""
if keyword in whdul[1].header:
kw_descr = whdul[1].header[keyword]
mhdul[i+1].header.set(keyword, d, kw_descr)
mhdul[i+1].header[keyword] = (d, kw_descr)
#
# If original data is unsigned short then scale the data.
#
Expand Down

0 comments on commit c44119e

Please sign in to comment.