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

feat: Script to migrate the directory structure #311

Merged
merged 61 commits into from
Oct 21, 2024

Conversation

manasaV3
Copy link
Contributor

@manasaV3 manasaV3 commented Oct 14, 2024

Relates to chanzuckerberg/cryoet-data-portal#899

Description

manasaV3 and others added 30 commits September 25, 2024 16:28
* fix: support filtering entities by related object id's
* 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
* Adds comments to jensen config generation

* Adding guardrails

* Clean up

* fix: method_name
Base automatically changed from mvenkatakrishnan/multi_tomo to main October 14, 2024 20:32
migrate_volume(cls, config, parents, {**kwargs, "migrate_metadata": False})
# This is a very hacky way to get the metadata path set up with the correct values
cls.allow_imports = True
cls.import_metadata()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note - Please doublecheck that key_photo paths in tomogram_metadata.json are getting updated.

@manasaV3 manasaV3 changed the title Scripting to migrate the directory structure feat: Script to migrate the directory structure Oct 15, 2024
@jgadling jgadling merged commit d061960 into main Oct 21, 2024
6 checks passed
@jgadling jgadling deleted the mvenkatakrishnan/migration_scripts branch October 21, 2024 15:19
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