Skip to content

Commit 48c2569

Browse files
committed
doc: fix doc string formatting
1 parent 3ee5f33 commit 48c2569

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

jax_galsim/gsobject.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ def _determine_wcs(self, scale, wcs, image, default_wcs=None):
582582
to indicate no limit on the extra noise
583583
- requires that the ``maxN`` option be a constant since PhotonArrays are allocated
584584
with ``maxN`` photons when this option is used and arrays in JAX must have static sizes.
585-
- raises generic ``Exception``s instead of more specific exceptions for some invalid inputs
585+
- raises a generic ``Exception`` instead of a more specific exception for some invalid inputs
586586
""",
587587
)
588588
def drawImage(
@@ -1118,7 +1118,7 @@ def _calculate_nphotons(self, n_photons, poisson_flux, max_extra_noise, rng):
11181118
- uses a default of ``n_photons=None`` instead of ``n_photons=0``
11191119
- uses a default of ``max_extra_noise=None`` instead of ``max_extra_noise=0``
11201120
to indicate no limit on the extra noise
1121-
- raises generic ``Exception``s instead of more specific exceptions for some invalid inputs
1121+
- raises a generic ``Exception`` instead of a more specific exception for some invalid inputs
11221122
""",
11231123
)
11241124
def makePhot(
@@ -1189,7 +1189,7 @@ def makePhot(
11891189
from the flux and gain
11901190
- uses a default of ``max_extra_noise=None`` instead of ``max_extra_noise=0``
11911191
to indicate no limit on the extra noise
1192-
- raises generic ``Exception``s instead of more specific exceptions for some invalid inputs
1192+
- raises a generic ``Exception`` instead of a more specific exception for some invalid inputs
11931193
- requires that the ``maxN`` option must be a constant
11941194
""",
11951195
)

0 commit comments

Comments
 (0)