From 7bab1f0180e06088169cc5151e95795d90b13a34 Mon Sep 17 00:00:00 2001 From: Philip Mousley Date: Thu, 16 Jan 2025 17:48:27 +0000 Subject: [PATCH] edit parsing of NXdetector --- src/islatu/io.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/islatu/io.py b/src/islatu/io.py index 687251a..4332615 100644 --- a/src/islatu/io.py +++ b/src/islatu/io.py @@ -70,7 +70,7 @@ def detector(self): Raises: ValueError if more than one NXdetector is found. """ - det, = self.instrument.NXdetector[0] + det, = self.instrument.NXdetector return det @property