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