Skip to content

Commit

Permalink
Protect random call to plot in the middle of algorithmic code
Browse files Browse the repository at this point in the history
  • Loading branch information
mfisherlevine committed Aug 16, 2024
1 parent 08453ee commit b652561
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/lsst/atmospec/spectraction.py
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,8 @@ def run(self, exp, xpos, ypos, target, doFitAtmosphere, doFitAtmosphereOnSpectro
parameters.PIXDIST_BACKGROUND
+ parameters.PIXWIDTH_BACKGROUND))
spectrum.atmospheric_lines = atmospheric_lines
spectrum.plot_spectrum()
if plotting:
spectrum.plot_spectrum()

# PSF2D deconvolution
if parameters.SPECTRACTOR_DECONVOLUTION_PSF2D:
Expand Down

0 comments on commit b652561

Please sign in to comment.