We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3cc835f commit a60a115Copy full SHA for a60a115
v2dl5/light_curves/data_reader.py
@@ -171,6 +171,8 @@ def _read_fluxes_from_ecsv_file(
171
f["flux_ul"] = [flux if is_ul else -1.0 for flux, is_ul in zip(flux_ul, is_ul)]
172
else:
173
f["flux_ul"] = [-1.0 for _ in f["flux"]]
174
+ if "significance" in table.colnames:
175
+ f["significance"] = table["significance"].data.flatten().tolist()
176
except KeyError:
177
self._logger.error(f"Incomplete data file; key not found in {data_config['file_name']}")
178
raise KeyError
0 commit comments