Skip to content

k2plot not working with latest version  #13

@saigrain

Description

@saigrain

[suz@glamdring k2sc_sap]$ ~/soft/k2sc/bin/k2plot --show EPIC_247548866_mast.fits
Traceback (most recent call last):
File "/users/suz/soft/k2sc/bin/k2plot", line 102, in
plot_lc(ax2, 1, data)
File "/users/suz/soft/k2sc/bin/k2plot", line 35, in plot_lc
mask = data['mask_ol_%d' % ap].astype(np.bool)
File "/usr/local/shared/python/2.7.6-gcc/lib/python2.7/site-packages/astropy-1.3.3-py2.7-linux-x86_64.egg/astropy/io/fits/fitsrec.py", line 488, in getitem
return self.field(key)
File "/usr/local/shared/python/2.7.6-gcc/lib/python2.7/site-packages/astropy-1.3.3-py2.7-linux-x86_64.egg/astropy/io/fits/fitsrec.py", line 684, in field
column = self.columns[key]
File "/usr/local/shared/python/2.7.6-gcc/lib/python2.7/site-packages/astropy-1.3.3-py2.7-linux-x86_64.egg/astropy/io/fits/column.py", line 1432, in getitem
key = _get_index(self.names, key)
File "/usr/local/shared/python/2.7.6-gcc/lib/python2.7/site-packages/astropy-1.3.3-py2.7-linux-x86_64.egg/astropy/io/fits/column.py", line 1833, in _get_index
raise KeyError("Key '{}' does not exist.".format(key))
KeyError: "Key 'mask_ol_1' does not exist."

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions