I ran into a problem using capital letters in table column names with the SoniSeries class. Specifically, if I use capital letters in the column name in the Astropy Table, and use the same capital letters in the value_col or time_col fields SoniSeries I get an error. If I use all lower case the it works fine.
AttributeError: Input Table must contain a value column 'fluxU'
I took a quick look at the astronify/series/series.py file. In the SoniSeries class data function, around lines 151 - 152, there is a bit of code that seems to convert the data_table columns to all lower case. But I didn't see any corresponding code to convert the time_col and val_col values to all lowercase. Perhaps that miss-match is causing my issue!
I ran into a problem using capital letters in table column names with the SoniSeries class. Specifically, if I use capital letters in the column name in the Astropy Table, and use the same capital letters in the value_col or time_col fields SoniSeries I get an error. If I use all lower case the it works fine.
So this works as expected
But this version
gives an error:
I took a quick look at the astronify/series/series.py file. In the SoniSeries class data function, around lines 151 - 152, there is a bit of code that seems to convert the
data_table
columns to all lower case. But I didn't see any corresponding code to convert thetime_col
andval_col
values to all lowercase. Perhaps that miss-match is causing my issue!