From bf40c0d7cacf2d670a8c40b05b7f36871d30f8b9 Mon Sep 17 00:00:00 2001 From: Darrell Schiebel Date: Thu, 1 Feb 2024 16:34:38 -0500 Subject: [PATCH] change tab to use vis MS base name --- casagui/apps/_interactiveclean.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/casagui/apps/_interactiveclean.py b/casagui/apps/_interactiveclean.py index afba4da..ef4522c 100644 --- a/casagui/apps/_interactiveclean.py +++ b/casagui/apps/_interactiveclean.py @@ -33,6 +33,7 @@ import shutil import websockets from uuid import uuid4 +from pathlib import Path from html import escape as html_escape from contextlib import asynccontextmanager from bokeh.models import Button, TextInput, Div, LinearAxis, CustomJS, Spacer, Span, HoverTool, DataRange1d, Step, InlineStyleSheet @@ -218,7 +219,7 @@ def __init__( self, vis, imagename, usemask='user', mask='', initial_mask_pixel= ### Create application context (which includes a temporary directory). ### This sets the title of the plot. ### - self._app_state = AppContext( 'Interactive Clean' ) + self._app_state = AppContext( Path(vis).stem ) ### ### Whether or not the Interactive Clean session is running remotely