From f2bdbee6b071ace9160973b88dbf00b3ca4a27f7 Mon Sep 17 00:00:00 2001 From: elanaku Date: Thu, 14 Nov 2024 19:58:20 -0300 Subject: [PATCH] fixup! CBP cal change type --- .../ts/externalscripts/maintel/make_cbp_throughput_scan.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/python/lsst/ts/externalscripts/maintel/make_cbp_throughput_scan.py b/python/lsst/ts/externalscripts/maintel/make_cbp_throughput_scan.py index fc532d10..48902fb7 100755 --- a/python/lsst/ts/externalscripts/maintel/make_cbp_throughput_scan.py +++ b/python/lsst/ts/externalscripts/maintel/make_cbp_throughput_scan.py @@ -701,7 +701,9 @@ async def take_calibration_sequence(self): self.log.debug(f"exposure is {exposure}") self.log.debug(f"Performing calibration with {exposure.wavelength=}.") await self.change_laser_wavelength(wavelength=exposure.wavelength) - await self.tunablelaser.cmd_setBurstMode.set_start(count=exposure.npulses) + await self.tunablelaser.cmd_setBurstMode.set_start( + count=int(exposure.npulses) + ) self.log.debug("Taking data sequence.") await self._take_data(