diff --git a/frb/surveys/decals.py b/frb/surveys/decals.py index 03cb18ef..ebc4aa55 100644 --- a/frb/surveys/decals.py +++ b/frb/surveys/decals.py @@ -77,7 +77,10 @@ def get_catalog(self, query=None, query_fields=None, print_query=False,exclude_g main_cat = Table(main_cat,masked=True) # for col in main_cat.colnames: - main_cat[col].mask = np.isnan(main_cat[col]) + try: + main_cat[col].mask = np.isnan(main_cat[col]) + except TypeError: + pass #Convert SNR to mag error values. snr_cols = [colname for colname in main_cat.colnames if "snr" in colname] for col in snr_cols: