Skip to content

Commit

Permalink
calibrator can be initialised with peaks=None
Browse files Browse the repository at this point in the history
  • Loading branch information
cylammarco committed Jun 4, 2023
1 parent d82a640 commit dc47198
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rascal/calibrator.py
Original file line number Diff line number Diff line change
Expand Up @@ -1115,7 +1115,7 @@ def set_hough_properties(
)
) / np.ptp(self.pixel_list)

if self.atlas is not None:
if (self.atlas is not None) and (self.peaks is not None):
self._generate_pairs()

def set_ransac_properties(
Expand Down

0 comments on commit dc47198

Please sign in to comment.