Skip to content
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

fix: scrape script overwriting existing v2 data #390

Merged
merged 1 commit into from
Jan 2, 2025

Conversation

manasaV3
Copy link
Contributor

Relates to chanzuckerberg/cryoet-data-portal#1389

Description

Once, the data is in the v2 database's table, it is never required for it to be updated by the data in v1 api. It is better for it to be updated by the db-import script.

This changes the scrape script to not overwrite the data, if it already exists in the database.

@manasaV3 manasaV3 requested a review from jgadling December 23, 2024 23:14
@manasaV3 manasaV3 merged commit 709e8a0 into main Jan 2, 2025
5 checks passed
@manasaV3 manasaV3 deleted the mvenkatakrishnan/scrape_fix branch January 2, 2025 23:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants