Skip to content
This repository was archived by the owner on Aug 6, 2024. It is now read-only.

Commit e934d33

Browse files
committed
debug
Signed-off-by: Nathaniel Starkman (@nstarman) <nstarkman@protonmail.com>
1 parent 6a06ce1 commit e934d33

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

discO/data/err_field/sky_distribution.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,10 @@ def query_sky_distribution(
113113
# data file
114114
DATA_DIR = FOLDER / f"sky_distribution_{order}.ecsv"
115115

116+
print(user)
116117
try:
117118
result = table.QTable.read(DATA_DIR)
118119
except Exception as e:
119-
print(e)
120120
result = do_query(adql_query, local=use_local, use_cache=False, user=user)
121121
result.write(DATA_DIR)
122122

@@ -267,8 +267,11 @@ def main(
267267
# /if
268268

269269
sky = query_sky_distribution(
270-
order=ns.order, random_index=ns.random_index, plot=ns.plot, use_local=ns.use_local,
271-
user=ns.username
270+
order=ns.order,
271+
random_index=ns.random_index,
272+
plot=ns.plot,
273+
use_local=ns.use_local,
274+
user=ns.username,
272275
)
273276

274277
return sky

0 commit comments

Comments
 (0)