-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Duplicate rows in group source downloads #3516
Comments
I've tested setting |
@guynir42 What do you think of trying this and seeing how it goes this week? |
You mean adding |
@guynir42 yes. |
Unfortunately PR #3569 has not resolved the duplicate row issue with Fritz. I am still unable to replicate the issue locally. |
Testing on a group of ~10,000 sources in preview did not produce any duplicates. It seems this issue is specific to fritz.science. |
@mcoughlin @guynir42 In the last several weeks, my downloads of group sources on Fritz have produced no duplicates. Not sure what changed for the better, but I'll close this issue for now. |
When downloading group sources from Fritz using the frontend or api, the result sometimes contains duplicate rows (although always the correct number of total rows, so some sources are missing). I have not encountered this problem for smaller groups (<~ 1000 sources), but for larger groups I get a variable number of duplicates each time I download. Some additional info:
It is possible that modifying this call of
grab_query_results
:skyportal/skyportal/handlers/api/source.py
Line 1026 in 91a293f
by setting
use_cache=True
, seeskyportal/skyportal/handlers/api/candidate.py
Line 1234 in 03f7c79
will solve the problem. We'd also have to decide on how long to maintain the cache.
The text was updated successfully, but these errors were encountered: