Skip to content

Commit

Permalink
update metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
cylammarco committed May 26, 2022
1 parent 136d0b9 commit 0bf1a8d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
14 changes: 10 additions & 4 deletions rascal/calibrator.py
Original file line number Diff line number Diff line change
Expand Up @@ -1771,13 +1771,19 @@ def fit(
if self.minimum_matches > len(self.atlas):
self.logger.warning(
"Requested minimum matches is greater than the atlas size"
+ "setting the minimum number of matches to equal the atlas"
+ "size = "
+ str(len(self.atlas))
+ "."
"setting the minimum number of matches to equal the atlas"
"size = " + str(len(self.atlas)) + "."
)
self.minimum_matches = len(self.atlas)

if self.minimum_matches > len(self.peaks):
self.logger.warning(
"Requested minimum matches is greater than the number of "
"peaks detected, which has a size of "
"size = " + str(len(self.peaks)) + "."
)
self.minimum_matches = len(self.peaks)

# TODO also check whether minimum peak utilisation is greater than
# minimum matches.

Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = rascal
version = 0.3.2
version = 0.3.3
license = BSD-3-Clause
license_files = LICENSE
description = The Pyhton Automated Wavelenmgth Calibrator.
Expand Down

0 comments on commit 0bf1a8d

Please sign in to comment.