From 0c36ffe08d14e8445b2334db2540e2134b5cb0d5 Mon Sep 17 00:00:00 2001 From: James Ball Date: Wed, 6 Nov 2024 11:33:47 +0100 Subject: [PATCH] Fix dataset typo --- ImageD11/sinograms/dataset.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ImageD11/sinograms/dataset.py b/ImageD11/sinograms/dataset.py index c3f7c408..9844fc4d 100644 --- a/ImageD11/sinograms/dataset.py +++ b/ImageD11/sinograms/dataset.py @@ -672,7 +672,7 @@ def get_colfile_from_peaks_dict(self, peaks_dict=None): cf = colfile_from_dict(peaks_dict) # Define spatial correction - if hasattr(self.e2dxfile) and (self.e2dxfile is not None): + if hasattr(self, "e2dxfile") and (self.e2dxfile is not None): cf = correct_cf_with_dxdyfiles(cf, self.e2dxfile, self.e2dyfile) else: if self.splinefile is not None: