diff --git a/pyobs/modules/pointing/acquisition.py b/pyobs/modules/pointing/acquisition.py index 56bfdb74..c0c9bb85 100644 --- a/pyobs/modules/pointing/acquisition.py +++ b/pyobs/modules/pointing/acquisition.py @@ -143,6 +143,8 @@ async def _acquire(self, exposure_time: float) -> Dict[str, Any]: log.warning(f"Error in pipeline: {e}. Skipping image.") # calculate distance from offset + if not image.has_meta(OnSkyDistance): + raise exc.ImageError("No on sky distance found in meta.") osd = image.get_meta(OnSkyDistance) if osd is None or np.isnan(osd.distance): log.warning("No on sky distance found in meta.") diff --git a/pyproject.toml b/pyproject.toml index 0843b54d..65ada1d9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [tool.poetry] name = "pyobs-core" packages = [{ include = "pyobs" }] -version = "1.6.14" +version = "1.6.15" description = "robotic telescope software" authors = ["Tim-Oliver Husser "] license = "MIT"