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

Clusters of interest history migration scripts & code cleanup / documentation #145

Open
wants to merge 17 commits into
base: master
Choose a base branch
from

Conversation

daniel-ji
Copy link
Contributor

To be merged after #143 and resolving merge conflicts with @spond's branch https://github.com/veg/hivtrace-viz/tree/2024-refactoring-RF2.

List of primary changes

Clusters of Interest History Migration Scripts

  • Add a Selenium (Python) script to assist with the clusters of interest history field addition (database migration). Given a network json file and a clusters of interest / priority sets file, it will access the hivtrace-viz site, generate the history data, and then download it to a file.
  • Related to the bullet above, add another script that takes the hivtrace-viz data downloaded via the Selenium migration helper script and actually saves the new data to a specified MongoDB.
  • See the README.md in migrations/coi-history/ folder for more details, and feel free to let me know if you have any questions.

Other improvements / secondary changes:

  • Add some more documentation
  • Add some more dummy data
  • Rename some folders to improve clarity of what's inside & their purpose
  • Non-functionality-changing code cleanup
  • Remove some unneeded dependencies
  • Delete server.js, as we use http-server to develop the site locally now and there's no other reason to have a express server running

Copy link

vercel bot commented Sep 15, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
hivtrace-viz ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 30, 2024 5:58pm

@daniel-ji daniel-ji changed the title Coi history playwright migration Clusters of interest history migration scripts & code cleanup / documentation Sep 15, 2024
@daniel-ji daniel-ji changed the base branch from master to daniel-ji-refactor September 30, 2024 17:04
@daniel-ji daniel-ji changed the base branch from daniel-ji-refactor to master September 30, 2024 17:05
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.

1 participant