Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

k2plot not working with latest version #13

Open
saigrain opened this issue Nov 28, 2017 · 0 comments
Open

k2plot not working with latest version #13

saigrain opened this issue Nov 28, 2017 · 0 comments
Assignees
Labels

Comments

@saigrain
Copy link
Contributor

[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."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants