From 325792c0643f80e56809cfee5fcf13b2a665ec05 Mon Sep 17 00:00:00 2001 From: Kyle Conroy Date: Tue, 19 Mar 2024 14:56:56 -0400 Subject: [PATCH] auto_update_results as an optional traitlet for AddResults --- jdaviz/core/template_mixin.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/jdaviz/core/template_mixin.py b/jdaviz/core/template_mixin.py index 2d1e1bf1d1..cd444e5f84 100644 --- a/jdaviz/core/template_mixin.py +++ b/jdaviz/core/template_mixin.py @@ -3279,9 +3279,7 @@ class AddResults(BasePluginComponent): * ``viewer`` (`ViewerSelect`): the viewer to add the results, or None to add the results to the data-collection but not load into a viewer. - """ - """ Traitlets (in the object, custom traitlets in the plugin): * ``label`` (string: user-provided label for the results data-entry. If ``label_auto``, changes @@ -3328,7 +3326,7 @@ class AddResults(BasePluginComponent): def __init__(self, plugin, label, label_default, label_auto, label_invalid_msg, label_overwrite, add_to_viewer_items, add_to_viewer_selected, - auto_update_result, + auto_update_result=None, label_whitelist_overwrite=[]): super().__init__(plugin, label=label, label_default=label_default, label_auto=label_auto,