-
Notifications
You must be signed in to change notification settings - Fork 2
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
chore: add seed script. #297
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bento007
approved these changes
Oct 1, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice. Thank you for adding this
manasaV3
pushed a commit
that referenced
this pull request
Oct 4, 2024
manasaV3
added a commit
that referenced
this pull request
Oct 14, 2024
* Updating tomograms * updates to tomogram processing * updates to tomogram key photo filename * updates to tomogram neuroglance filepath * cleaning up tomogram and related entities * Updating tiltseries with identifiers * Updating alignment for tomogram relations * Adding alignment metadatapath to annotations and tomograms * Updating the paths * Updating the paths * Updating failed tests * Working tests clean up needed * fix: workaround for docker compose bugs. (#295) * fix: support filtering entities by related object id's (#296) * fix: support filtering entities by related object id's * chore: add seed script. (#297) * feat: Updates to the alignment entity (#298) * Updates to schema and template * Fixing tests * Adding files to alignments metadata * Update the alignment configs method type * Fixing typo * Adding undefined alignment_method_type * chore: Documenting the Jensen config generation (#293) * Adds comments to jensen config generation * Adding guardrails * Clean up * fix: method_name * chore: Update footer of release please PR's. (#299) * Adding tests * cleaning up the paths * Cleaning up paths * fix tests * Updating tomogram id generation * Updating viz_config generation * Making id directories * Making id directories * Making annotation id directory * Cleaning up paths with id * Updating neuroglancer precompute for dir structure * Updating neuroglancer config for dir structure * Updating raw tilt import to tiltseries_id directory * Fixing dependency on existing metadata * Adding documentation comment --------- Co-authored-by: Jessica Gadling <jgadling@chanzuckerberg.com>
jgadling
added a commit
that referenced
this pull request
Oct 21, 2024
* Updating tomograms * updates to tomogram processing * updates to tomogram key photo filename * updates to tomogram neuroglance filepath * cleaning up tomogram and related entities * Updating tiltseries with identifiers * Updating alignment for tomogram relations * Adding alignment metadatapath to annotations and tomograms * Updating the paths * Updating the paths * Updating failed tests * Working tests clean up needed * fix: workaround for docker compose bugs. (#295) * fix: support filtering entities by related object id's (#296) * fix: support filtering entities by related object id's * chore: add seed script. (#297) * feat: Updates to the alignment entity (#298) * Updates to schema and template * Fixing tests * Adding files to alignments metadata * Update the alignment configs method type * Fixing typo * Adding undefined alignment_method_type * chore: Documenting the Jensen config generation (#293) * Adds comments to jensen config generation * Adding guardrails * Clean up * fix: method_name * chore: Update footer of release please PR's. (#299) * Adding tests * cleaning up the paths * Cleaning up paths * fix tests * Updating tomogram id generation * Updating viz_config generation * Making id directories * Making id directories * Making annotation id directory * Cleaning up paths with id * Updating neuroglancer precompute for dir structure * Updating neuroglancer config for dir structure * Updating raw tilt import to tiltseries_id directory * Migration script * Update for tomograms * Adding support for alignments * Migrating annotation precompute * Migrating collection_metadata * Migrating rawtilt and gains * Clean up * Clean up * Clean up * Enabling the move * Adding metadata updates * Uncommenting deletion * Adding check before move * Adding wdl * minor fixes * Updating enqueue script * Updating annotation file names * Updating the tomogram key photo path * Fixing tests * Fix key_photo migration * Handling default alignments * fix path standardization when bucket name not in path * Lint. --------- Co-authored-by: Jessica Gadling <jgadling@chanzuckerberg.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is the start of a script that can seed our local dev environment with test data. It's not wired into anything right now, but it may be useful in the future for CI. It's basically a translation of this script to
factory_boy
with a few updates for our new schema (to supportalignments
andannotation_shape
etc)