Skip to content

Commit

Permalink
Merge pull request #347 from jadball/master
Browse files Browse the repository at this point in the history
Fix typo in dataset.py
  • Loading branch information
jadball authored Nov 6, 2024
2 parents 25026fb + 0c36ffe commit 83ad4d7
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 83ad4d7

Please sign in to comment.