-
Notifications
You must be signed in to change notification settings - Fork 1
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
Annotation Versioning Feature #184
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
… linted. Should be passing.
…c unit and dataset directly from annotation-unit
… get_dependencies() in AnnotationUnit. Clarified some function names and docstrings. Tests and linting passing locally.
* Pushing up pulled in code changes from the annotation-task refactor, pairing and other work done in the last week, before losing power and wifi. * Was able to process versioning tasks for annotation units. Skipped all other tasks for now, will be working on that next. Updated test fixture's annotation-configuration to match current Rosalution annotation configuration. Paired with Angelina on some of this stuff. * testing process tasks for datasets without dependencies and datasets with dependencies * Tests pass for CPAM0002, need to rework CPAM0046 * Paired with Rabab to refactor how we manage skipping a dependency for unit tests when processing annotation unit tasks; agreed upon a base set of datasets to use in configuration; and updated the neccesary code patching * Missed a file. * got it working; heck ya * tests passing, linting & formatting passing * wip for genomic units;linting; and formatting * finished cleaning up genomic unit unit tests and added parameterized test methods to have more then one test case peer unit test * wip * wip to get annotation by analysis name' * backend wip for getting annotations by analysis * rabab & angelina pair for getting version result * formatted backend files * Able to retrieve version for 'rest' versioning type. Hardcoded 'rosalution' type version for rosalution's manifest. Paired with Angelina on Wednesday to create a couple of helper functions for testing. Thursday - Rabab worked on combining & testing all 3 versioning types in one test. * Fixed some of the linting errors * Retrieve and show annotations (#180) * Updated backend to include annotation retrieval for dependencies and ui * Updated unit tests and integration to pass * finished added the version calcs and fixed version retrieval, checking if transcripts exists is still broken, the case where transcript_id and no transcripts are listed in the variant is the case that needs to be fixed * fixed creatining multiple genomic units when uploading twice, investigating why transcripts are showing as not existing when they do * wrapped up cleaning the tests; removed extra logging; linted and formatted; paired with Rabab --------- Co-authored-by: SeriousHorncat <ange.unoantonison@gmail.com>
* wrapping up first draft of migration script;and tidying up feature * added a port for local mongodb developer so vscode can connect to mongodb in the container; fixed documentation in script for the example run command
SeriousHorncat
force-pushed
the
feature-annotation-versioning
branch
from
September 25, 2024 02:06
9c04f08
to
986a247
Compare
…via a force-push; updated initial seed fixtures to use calculated annotation versions; cleaned up the documentation for the create annotation manifest script for migration
…ithin genomic units
…ete; this should fix that
…ing the tests to test more clearly
JmScherer
approved these changes
Sep 27, 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.
So much stuff! It all works from my end!
SeriousHorncat
approved these changes
Sep 30, 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.
😸
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.
Pull Request Details
Wrike ticket - Get latest version of the dataset within the annotation unit
Changes made:
To Review:
To check this run the following commands:
Navigate to https://local.rosalution.cgds/rosalution/login. Login as "developer".
Click on any CPAM case, navigate to its Annotation view and ensure annotations are loading.
Verify importing a new analysis annotates all of its genomic units & renders them
C-PAM0042.json
into Rosalution from./etc/fixtures/import/
Verify importing new analysis that has same genomic units as an existing analysis, doesn't duplicate existing annotations and creates not annotations if there is a different version calculated
from
./etc/fixtures/import/`CPAM0084
andCPAM0084duplicate
on the Rosalution UI.Verify Genomic Units and Analyses migrate successfully to use an annotation manifest for rendering annotations
Restore a production backed up database on your local deployment from UAB LTS. Visit Research Compute LTS Instructions for setup instructions so the restore script can use rclone to restore the latest backed up database. Use 'cgdslts' credentials shared in Keeper.
After rclone config is finished, restore a prod backed up database from LTS.
Run the migration script to generate an annotation manifest for each Rosalution analysis and genomic units.
Restart backend service, so logout 'developer' to prevent an infinite auth loop IMPORTANT
Navigate to https://local.rosalution.cgds/rosalution/login. Login using your BlazerID instead of 'developer.
Confirm many different Rosalution analyses render their annotations
Inspect database to confirm analyses have manifests now
All Unit Tests pass.
All Github Actions checks have passed.