Skip to content

Commit

Permalink
Fix dataset typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jadball committed Nov 6, 2024
1 parent 25026fb commit 0c36ffe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ImageD11/sinograms/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 0c36ffe

Please sign in to comment.