From b52e704e484c5ebd7d57dff0a779791bc24cccb2 Mon Sep 17 00:00:00 2001 From: Peter Urban Date: Tue, 14 May 2024 17:56:43 +0200 Subject: [PATCH] grouped ping support for image builder --- .../pingprocessing/watercolumn/image/imagebuilder.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/python/themachinethatgoesping/pingprocessing/watercolumn/image/imagebuilder.py b/python/themachinethatgoesping/pingprocessing/watercolumn/image/imagebuilder.py index 995429a..0abb483 100644 --- a/python/themachinethatgoesping/pingprocessing/watercolumn/image/imagebuilder.py +++ b/python/themachinethatgoesping/pingprocessing/watercolumn/image/imagebuilder.py @@ -21,6 +21,11 @@ def __init__( self.use_beam_sample_view = use_beam_sample_view self.progress = progress + # if isinstance(self.pings, dict): + # self.dual_head = True + # else: + # self.dual_head = False + def update_args(self, **kwargs): self.default_args.update(kwargs) @@ -46,10 +51,14 @@ def build(self, index, stack = 1, stack_step = 1, **kwargs): progress=self.progress, **_kwargs) - return make_wci( + return make_wci_dual_head( self.pings[index], **_kwargs) + # return make_wci( + # self.pings[index], + # **_kwargs) + # progress_bar.description = "Idle"