Skip to content

Commit

Permalink
Fix ValueError msg
Browse files Browse the repository at this point in the history
  • Loading branch information
andyyPark committed Feb 16, 2024
1 parent 9145e24 commit af86a0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fpfs/simutil.py
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,7 @@ def __init__(
def make_catalog(self, rng, n):
if self.ntrain < n:
raise ValueError(
"mag_cut is too small, and there is not enough number of galaxies"
"There is not enough number of galaxies available"
)
# nrot_per_gal is the number of rotated galaxies in each subfield
inds = rng.np.integers(low=0, high=self.ntrain, size=n)
Expand Down

0 comments on commit af86a0f

Please sign in to comment.