fix required_hdu in analysis.core
@@ -135,9 +135,9 @@ class Analysis:
log.info("Fetching observations.")
ids = self._make_obs_table_selection()
-
+ required_hdu = [_.value for _ in observations_settings.required_hdu]
self.observations = self.datastore.get_observations(
- ids, skip_missing=True, required_hdu=observations_settings.required_hdu
+ ids, skip_missing=True, required_hdu=required_hdu
)
if observations_settings.obs_time.start is not None:
