Skip to content

Commit

Permalink
Fix handling of deprecated ga_group_name
Browse files Browse the repository at this point in the history
  • Loading branch information
domfournier committed Nov 21, 2024
1 parent 5757623 commit 4857077
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion peak_finder-assets/uijson/peak_finder.ui.json
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion peak_finder/driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 4857077

Please sign in to comment.