Problem getting the data
mrtommyb opened this issue · comments
Tom Barclay commented
I run this code
import kplr
client = kplr.API()
lcs = client.koi('373.01').get_light_curves(short_cadence=False)
and get an error
TypeError: int() argument must be a string or a number, not 'NoneType'
Am being stupid or is something funky happening? I updated kplr using pip and this didn't fix the problem.
Dan Foreman-Mackey commented
Oops. The old try-except probably should have included TypeError
anyways. Should be good now.
Tom Barclay commented
Can you increase the version number and publish pipy. This error caused kplr to always fail.
Dan Foreman-Mackey commented
Must be a change in the MAST schema… damn them!
Also. Will do.
Dan Foreman-Mackey commented
Done.