diff --git a/python/lsst/production/tools/logs.py b/python/lsst/production/tools/logs.py index 6e3eb63..b506ced 100644 --- a/python/lsst/production/tools/logs.py +++ b/python/lsst/production/tools/logs.py @@ -27,11 +27,11 @@ bp = Blueprint("logs", __name__, url_prefix="/logs") -try: - BUTLER_URI = os.environ["BUTLER_URI"] -except KeyError: - print("Must set environment variable BUTLER_URI") - sys.exit(1) +#try: +# BUTLER_URI = os.environ["BUTLER_URI"] +#except KeyError: +# print("Must set environment variable BUTLER_URI") +# sys.exit(1) #global_butler = dafButler.Butler(BUTLER_URI) diff --git a/python/lsst/production/tools/tractTable.py b/python/lsst/production/tools/tractTable.py index 77d8750..0897e3a 100644 --- a/python/lsst/production/tools/tractTable.py +++ b/python/lsst/production/tools/tractTable.py @@ -25,7 +25,7 @@ import numpy as np import urllib.parse import yaml -bp = Blueprint("metrics", __name__, url_prefix="/metrics") +bp = Blueprint("metrics", __name__, url_prefix="/plot-navigator/metrics") NO_BUTLER = True