Skip to content

Commit

Permalink
fixup! CBP cal change type
Browse files Browse the repository at this point in the history
  • Loading branch information
elanaku committed Nov 14, 2024
1 parent 7ec0661 commit f2bdbee
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit f2bdbee

Please sign in to comment.