mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-20 23:18:12 +08:00
remove printing (#455)
This commit is contained in:
committed by
Charlotte Weaver
parent
141f802824
commit
a81258bc0d
@@ -1,6 +1,7 @@
|
||||
import sys
|
||||
import click
|
||||
import logging
|
||||
from os import devnull
|
||||
from os.path import splitext, basename
|
||||
import webbrowser
|
||||
|
||||
@@ -112,4 +113,8 @@ def launch(data, layout, diffexp, title, verbose, debug, obs_names, var_names,
|
||||
|
||||
click.echo("[cellxgene] Type CTRL-C at any time to exit.")
|
||||
|
||||
if not verbose:
|
||||
f = open(devnull, 'w')
|
||||
sys.stdout = f
|
||||
|
||||
app.run(host=host, debug=debug, port=port, threaded=True)
|
||||
|
||||
Reference in New Issue
Block a user