minor: I'm trying to reduce the use of if beamline is ...: to make the eventual necessary refactor easier, prefer adding beamline specific stuff to the beamline_dispatch protocol(s) and just using dispatch.blah here - but we would need to make a frontend/GUI version which didn't have the hardware/bec macros so I think this is acceptable for now - this stuff should probably actually just go into config anyway
minor: I'm trying to reduce the use of `if beamline is ...:` to make the eventual necessary refactor easier, prefer adding beamline specific stuff to the `beamline_dispatch` protocol(s) and just using `dispatch.blah` here - but we would need to make a frontend/GUI version which didn't have the hardware/bec macros so I think this is acceptable for now - this stuff should probably actually just go into config anyway
perl_d
merged commit 5c600785f4 into main2026-09-16 09:36:19 +02:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Simple parameter panel simplification
Coverage report (automated)
Total line + branch coverage: 51%
Diff coverage vs main: 77% (minimum 80%)
Full report: coverage artifact on this run.
looks fine, one minor comment
@@ -352,2 +447,3 @@)self.total_time_s = self.target_dose_MGy / self.dose_rate_MGy_sif self._beamline is MXBeamline.X10SA:minor: I'm trying to reduce the use of
if beamline is ...:to make the eventual necessary refactor easier, prefer adding beamline specific stuff to thebeamline_dispatchprotocol(s) and just usingdispatch.blahhere - but we would need to make a frontend/GUI version which didn't have the hardware/bec macros so I think this is acceptable for now - this stuff should probably actually just go into config anyway