dfm / kplr

Tools for working with Kepler data using Python

Home Page:https://dfm.io/kplr

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Problem getting the data

mrtommyb opened this issue · comments

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.

Oops. The old try-except probably should have included TypeError anyways. Should be good now.

Can you increase the version number and publish pipy. This error caused kplr to always fail.

Must be a change in the MAST schema… damn them!

Also. Will do.