From dcded94537c32f73863c9f0c821e811bb9693386 Mon Sep 17 00:00:00 2001 From: roby Date: Fri, 21 Jun 2024 15:12:23 -0600 Subject: [PATCH] firefly_client: 3.0.2 - patch to default show_lab_tab() --- firefly_client/firefly_client.py | 4 ++-- setup.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/firefly_client/firefly_client.py b/firefly_client/firefly_client.py index 8308261..3806b8a 100644 --- a/firefly_client/firefly_client.py +++ b/firefly_client/firefly_client.py @@ -257,8 +257,8 @@ def _lab_env_tab_start(self, tab_type, html_file): # self.render_tree_id = 'slateClient-%s-%s' % (len(self.instances), round(time.time())) self.show_lab_tab(html_file) - def show_lab_tab(self, html_file): - """If using a jupyter lab tab- show it or reopen it. If not using a lab tab then noop""" + def show_lab_tab(self, html_file=_def_html_file): + """If using a jupyter lab tab - show it or reopen it. If not using a lab tab then noop""" self.lab_env_tab_type = (LAB and self.dispatch(ACTION_DICT['StartLabWindow'], {'fireflyHtmlFile': html_file})) diff --git a/setup.py b/setup.py index 89b1cf3..c998dc1 100755 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ setup( name='firefly_client', - version='3.0.1', + version='3.0.2', description='Python API for Firefly', author='IPAC LSST SUIT', license='BSD',