mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-19 10:58:10 +08:00
Renaming bind-all option to listen-all (#353)
See discussion here https://docs.google.com/document/d/1tcAvODhdlUUAOJPHoGQB3fWOPmnw3XjK7MVhDRwNUnk/edit#
This commit is contained in:
@@ -58,7 +58,7 @@ def run_scanpy(args):
|
||||
|
||||
from .scanpy_engine.scanpy_engine import ScanpyEngine
|
||||
app.data = ScanpyEngine(args.data_directory, layout_method=args.layout, diffexp_method=args.diffexp)
|
||||
if args.bind_all:
|
||||
if args.listen_all:
|
||||
host = "0.0.0.0"
|
||||
else:
|
||||
host = "127.0.0.1"
|
||||
@@ -75,7 +75,7 @@ def main():
|
||||
parser.add_argument("--flask-debug", action="store_true", help=argparse.SUPPRESS)
|
||||
parser.add_argument("--no-open", help="Do not launch the webbrowser.", action="store_false", dest="open_browser")
|
||||
parser.add_argument(
|
||||
"--bind-all",
|
||||
"--listen-all",
|
||||
help="Bind to all interfaces (this makes the server accessible beyond this computer)",
|
||||
action="store_true")
|
||||
subparsers = parser.add_subparsers(dest="engine")
|
||||
|
||||
Reference in New Issue
Block a user