This is a particular problem for votable files, where a number of column names must be specified. If you call the read_votable_file method, they are positional, required inputs. But when you call the generic read function they are defaulted to None and then you get a fairly unhelpful error message because it's trying to do work on a None object. These Nones should be caught in either the generic read method or the read_votable_file method (probably the latter).
This is a particular problem for votable files, where a number of column names must be specified. If you call the
read_votable_file
method, they are positional, required inputs. But when you call the genericread
function they are defaulted toNone
and then you get a fairly unhelpful error message because it's trying to do work on aNone
object. TheseNones
should be caught in either the genericread
method or theread_votable_file
method (probably the latter).