diff --git a/esbo-etc_defaults.xml b/esbo-etc_defaults.xml index afa33e2..ffec30b 100644 --- a/esbo-etc_defaults.xml +++ b/esbo-etc_defaults.xml @@ -9,9 +9,11 @@ - - - + + + + + diff --git a/esbo_etc/classes/Config.py b/esbo_etc/classes/Config.py index efea093..cdd8e50 100644 --- a/esbo_etc/classes/Config.py +++ b/esbo_etc/classes/Config.py @@ -138,8 +138,10 @@ class Configuration(object): mes = self.conf.common.jitter_sigma.check_quantity("val", u.arcsec) mes is not None and error("Configuration check: common -> jitter_sigma: " + mes) if hasattr(self.conf.common, "output_path"): - mes = self.conf.common.output_path.check_path("val") - mes is not None and error("Configuration check: common -> output_path: " + mes) + mes = self.conf.common.output.check_path("path") + mes is not None and error("Configuration check: common -> output: " + mes) + mes = self.conf.common.output.check_selection("format", ["csv", "CSV", "fits", "FITS"]) + mes is not None and error("Configuration check: common -> output: " + mes) else: setattr(self.conf.common, "output_path", Entry(val=".")) if hasattr(self.conf.common, "exposure_time"):