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