diff --git a/backend/scripts/dom_activity.py b/backend/scripts/dom_activity.py index 15b3c72bd4ba6a766f22d7037a09d2203bf04032..98da1e5022f0a34a392976a27456855af63f09af 100755 --- a/backend/scripts/dom_activity.py +++ b/backend/scripts/dom_activity.py @@ -62,7 +62,7 @@ class DOMActivityPlotter(kp.Module): timestamp = summaryslice.header.time_stamp for dom_id, _ in summaryslice.summary_frames.items(): - du, dom, _ = self.detector.doms[dom_id] + du, dom, *_ = self.detector.doms[dom_id] self.last_activity[(du, dom)] = timestamp self.cuckoo.msg() diff --git a/backend/scripts/dom_rates.py b/backend/scripts/dom_rates.py index 6ebb3113b819cc78e776f94dd612554c9f3e5a2c..284759ae6dc8f6bf342145a8f7e8a6f8ded1949d 100755 --- a/backend/scripts/dom_rates.py +++ b/backend/scripts/dom_rates.py @@ -64,7 +64,7 @@ class DOMRates(kp.Module): summaryslice = blob['RawSummaryslice'] self.rates = {} # TODO: review this hack for dom_id, rates in summaryslice.summary_frames.items(): - du, dom, _ = self.detector.doms[dom_id] + du, dom, *_ = self.detector.doms[dom_id] self.rates[(du, dom)] = np.sum(rates) / 1000 self.cuckoo.msg() diff --git a/backend/scripts/pmt_rates.py b/backend/scripts/pmt_rates.py index 5216463712bbb72fdd9c60bbd9ce045fd28c245b..06ef95b4af90831460382483db8b6d2caaf8ccb4 100755 --- a/backend/scripts/pmt_rates.py +++ b/backend/scripts/pmt_rates.py @@ -163,7 +163,7 @@ class PMTRates(kp.Module): self.log.debug(f"DOM ID {dom_id} not in detector definition!") return blob - du, floor, _ = self.detector.doms[dom_id] + du, floor, *_ = self.detector.doms[dom_id] if du != self.du: return blob diff --git a/backend/scripts/triggered_hits.py b/backend/scripts/triggered_hits.py index a42ca669bc18bc24c8bfc4c7c61f86184ffd7311..d714f53d73e7b8448d1e0c842f2c6d3e48c07ddc 100755 --- a/backend/scripts/triggered_hits.py +++ b/backend/scripts/triggered_hits.py @@ -139,7 +139,7 @@ class TriggeredHits(kp.Module): label: str title: str """ - x, y, _ = zip(*detector.doms.values()) + x, y, *_ = zip(*detector.doms.values()) m_size = 260 scatter_args = {