From 5bbc253b38c535ea9188494226879fd5b6c5d008 Mon Sep 17 00:00:00 2001 From: Oddant1 Date: Thu, 16 Jan 2025 11:19:23 -0700 Subject: [PATCH] visualization -> result --- q2cli/builtin/tools.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/q2cli/builtin/tools.py b/q2cli/builtin/tools.py index 4bbd40b2..7b809f64 100644 --- a/q2cli/builtin/tools.py +++ b/q2cli/builtin/tools.py @@ -589,6 +589,7 @@ def do_GET(self): super().do_GET() VENDOR_PATH = '/home/anthony/src/qiime2/q2view/vendored/' + # This ought to look like a session id generated by normal view CHAR_SET = 'abcdefghijklmnopqrstuvwxyz0123456789' SESSION_LEN = 11 session = ''.join(random.choice(CHAR_SET) for i in range(SESSION_LEN)) @@ -617,8 +618,8 @@ def stop(): # Yell if there was an error if launch_status != 0: click.echo( - CONFIG.cfg_style('error', 'Viewing visualization failed while ' - f'attempting to open {result_path}'), + CONFIG.cfg_style('error', 'Viewing result failed while attempting ' + f'to open {result_path}'), err=True) # Wait for shut down request