Anisha Bhatnagar
commited on
Commit
·
b15ed38
1
Parent(s):
ac7facf
bug in handlezoom with reties
Browse files- utils/visualizations.py +1 -1
utils/visualizations.py
CHANGED
@@ -290,7 +290,7 @@ def handle_zoom_with_retries(event_json, bg_proj, bg_lbls, clustered_authors_df,
|
|
290 |
|
291 |
for attempt in range(3):
|
292 |
try:
|
293 |
-
handle_zoom(event_json, bg_proj, bg_lbls, clustered_authors_df, task_authors_df)
|
294 |
except Exception as e:
|
295 |
print(f"[ERROR] Attempt {attempt + 1} failed: {e}")
|
296 |
if attempt < 2:
|
|
|
290 |
|
291 |
for attempt in range(3):
|
292 |
try:
|
293 |
+
return handle_zoom(event_json, bg_proj, bg_lbls, clustered_authors_df, task_authors_df)
|
294 |
except Exception as e:
|
295 |
print(f"[ERROR] Attempt {attempt + 1} failed: {e}")
|
296 |
if attempt < 2:
|