removed if True

This commit is contained in:
2024-03-22 22:45:02 +01:00
parent c94d6943d4
commit 69745e34bc

View File

@ -74,7 +74,6 @@ def main():
poller = zmq.Poller()
# all the normal workers
if True:
worker = 1
# receive from backend:
@ -151,7 +150,7 @@ def main():
event_darkshot = bool((daq_rec >> 17) & 1)
event_fel = bool((daq_rec >> 18) & 1)
event_ppicker = bool((daq_rec >> 19) & 1)
#
if not event_darkshot:
results["laser_on"] = event_laser
@ -197,7 +196,7 @@ def main():
else:
pixel_mask_pf = None
#
disabled_modules = results.get("disabled_modules", [])
# add additional mask at the edge of modules for JF06T08
@ -467,7 +466,7 @@ def main():
results["shape"] = data.shape
frame_number = metadata["frame"]
#
accumulator_socket.send_json(results, FLAGS)
if (apply_aggregation != 0 ) and "aggregation_max" in results: