From c255fbcd07831a84b489df25ccb4efd1860d6c77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Agn=C3=A8s=20Fert=C3=A9?= Date: Thu, 29 Feb 2024 11:49:41 -0800 Subject: [PATCH] Correct attribute in returm. --- python/lsst/obs/fiberspectrograph/spectrum.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/lsst/obs/fiberspectrograph/spectrum.py b/python/lsst/obs/fiberspectrograph/spectrum.py index 71bbf28..cb1c536 100644 --- a/python/lsst/obs/fiberspectrograph/spectrum.py +++ b/python/lsst/obs/fiberspectrograph/spectrum.py @@ -71,7 +71,7 @@ def getInfo(self): def getMetadata(self): """Get the spectrum metadata." """ - return self.md + return self.metadata def getFilter(self): """Get filter label."