remove printing (#455)

This commit is contained in:
Jeremy Freeman
2018-11-16 14:45:06 -08:00
committed by Charlotte Weaver
parent 141f802824
commit a81258bc0d
+5
View File
@@ -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)