From 4857077972eba3d01e7f37e6af8c24a9cece5e93 Mon Sep 17 00:00:00 2001 From: dominiquef Date: Thu, 21 Nov 2024 12:47:37 -0800 Subject: [PATCH] Fix handling of deprecated ga_group_name --- peak_finder-assets/uijson/peak_finder.ui.json | 3 ++- peak_finder/driver.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/peak_finder-assets/uijson/peak_finder.ui.json b/peak_finder-assets/uijson/peak_finder.ui.json index 46347b2..a3e7aa1 100644 --- a/peak_finder-assets/uijson/peak_finder.ui.json +++ b/peak_finder-assets/uijson/peak_finder.ui.json @@ -113,7 +113,8 @@ "main": true, "group": "3 - Python run preferences", "label": "Save As", - "value": "peak_finder" + "value": "Peak Finder", + "visible": false }, "structural_markers": { "main": true, diff --git a/peak_finder/driver.py b/peak_finder/driver.py index 7a96f60..5667ae6 100644 --- a/peak_finder/driver.py +++ b/peak_finder/driver.py @@ -208,7 +208,7 @@ def run(self): # pylint: disable=R0912, R0914, too-many-statements if out_group is None: out_group = UIJsonGroup.create( self.params.geoh5, - name="Peak Finder", + name=self.params.ga_group_name, ) self.params.input_file.data = self.params.to_dict() out_group.options = self.params.to_dict(ui_json_format=True)