Skip to content

Commit

Permalink
edit parsing of NXdetector
Browse files Browse the repository at this point in the history
  • Loading branch information
P-Mousley authored Jan 16, 2025
1 parent dfa28b8 commit 7bab1f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/islatu/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7bab1f0

Please sign in to comment.