From e934d33c8428070e3248e7f7522c21e68796b047 Mon Sep 17 00:00:00 2001 From: "Nathaniel Starkman (@nstarman)" Date: Fri, 8 Oct 2021 20:35:41 -0400 Subject: [PATCH] debug Signed-off-by: Nathaniel Starkman (@nstarman) --- discO/data/err_field/sky_distribution.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/discO/data/err_field/sky_distribution.py b/discO/data/err_field/sky_distribution.py index 31f984ed..3d4c662b 100644 --- a/discO/data/err_field/sky_distribution.py +++ b/discO/data/err_field/sky_distribution.py @@ -113,10 +113,10 @@ def query_sky_distribution( # data file DATA_DIR = FOLDER / f"sky_distribution_{order}.ecsv" + print(user) try: result = table.QTable.read(DATA_DIR) except Exception as e: - print(e) result = do_query(adql_query, local=use_local, use_cache=False, user=user) result.write(DATA_DIR) @@ -267,8 +267,11 @@ def main( # /if sky = query_sky_distribution( - order=ns.order, random_index=ns.random_index, plot=ns.plot, use_local=ns.use_local, - user=ns.username + order=ns.order, + random_index=ns.random_index, + plot=ns.plot, + use_local=ns.use_local, + user=ns.username, ) return sky