Skip to content

Commit

Permalink
In atcalsys, fix how ATCalsysExposure is created in calculate_optimiz…
Browse files Browse the repository at this point in the history
…ed_exposure_times.

Make sure it explicitly passes the parameters by name to make sure they have the correct values.
  • Loading branch information
tribeiro committed Jul 25, 2024
1 parent e7f2c9e commit 89f012f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions python/lsst/ts/observatory/control/auxtel/atcalsys.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,10 +276,10 @@ async def calculate_optimized_exposure_times(
for i, exptime in enumerate(config_data["exposure_times"]):
exposures.append(
ATCalsysExposure(
wavelength,
exptime,
electrometer_exptimes[i],
fiberspectrograph_exptimes[i],
wavelength=wavelength,
camera=exptime,
electrometer=electrometer_exptimes[i],
fiberspectrograph=fiberspectrograph_exptimes[i],
)
)

Expand Down

0 comments on commit 89f012f

Please sign in to comment.