From be4eb01ae0c1a79796bd330e5026317402492b89 Mon Sep 17 00:00:00 2001 From: Colin Slater Date: Wed, 16 Oct 2024 23:11:54 -0700 Subject: [PATCH] Add plot-navigator prefix to blueprints. --- python/lsst/production/tools/logs.py | 10 +++++----- python/lsst/production/tools/tractTable.py | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) 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