-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Analysis Sections Enhancement with Migration and Additional Section I…
…mages Attachments (#103) * wip to refactoring to supporting multiple sections in an analysis to add attachments * wip for analysis backend integration with the adding/updating/removing * debugging whats going on * got it working? * reduced the CSS footprint for the gene box component and the dom to be simpler * wip for consolidating the css * conslidated work that was here * wip for refactoring the backend * fixed frontend linting issues * Refactoring to make the emits work, starting work on the updating section image in the backend * Image edit update and removal working * Replaced the component back into the sectionbox and am chaining emits from sectionimage to sectionbox to analysis view * fixed removing an image, it now properly reacts to the image removed * Updated the backend analysis collection attach image to use field instead of dataset to fix image attachment * Updated the analysis image system tests, changed system-tests/e2e/attach_pedigree_image.cy.js to be attach_analysis_section_image.cy.js * Knocked out some system tests, working on the others. I think there's a bug, need to check * Working out some of the system tests, they won't work until the collapsible and empty content boxes are resolved * fixed collasping of the section boxes in annotationview and made preliminary changes to the system test for collapsing * Work in progress to resolve CSS and remove the force render * Fixed most of the linting for python * Refactored to not require the force re-render for frontend images * frontend css changes to make progress to editing case" git push * System tests passing * disabled duplicate code check * formatted backend code with yapf * Frontned unit tests updated along with additional console logging on frontend removed for debugging * Updated test_analysis_collection.py to reflect the new tests for the analysis section images. Also removed a few functions from analysis_collection.py pretaining to pedigree. Lastly, updated some text fixtures to more accurately reflect what the structure is * Fixed up the integration tests for the analysis_router.py * Linting * Removed some comments * Linting again * removed special coloring to help resolve cleaning up and consolidating the CSS * Phenotips importer update and corresponding Migration Script (#102) * Added new sections to analysis * Modified phenotips importer to show sections for multiple genes in analysis * progress in migration script * Fixed backend linting * Fixed up phenotips_importer.py and added a test * Added migration script to reconfigure analysis sections. Gene sections throwing error now * Updated the CSS for the section text so that it wraps and doesn't go beyhond the bounds of its container. * Updated gene sections to reconfigure where HPO terms are displayed * Removed duplicate Clinical History/HPO terms loop * added the pedigree image if it exists * Removed print statements and included pedgree image migration * added type to sections * Added images-dataset type for fields * script fix, verified can only run it once succesfully * Updated the base fixtures to use the new analysis system * Updated phenotips importer to have field names match header * backend linting fixes * Updated the system tests for the image attaching * Fixed the formatting that came up with yapf * Resovled the system tests * Added some logging to the script to be informative of the output and fixed a few things found in the process * Pushign up fix for the clinical history --------- Co-authored-by: James Scherer <jscherer@uab.edu> Co-authored-by: Angelina Elizabeth Uno-Antonison <ange.unoantonison@gmail.com> * Updating system test to match the miggrated fixtures --------- Co-authored-by: James Scherer <jscherer@uab.edu> Co-authored-by: Rabab Fatima <rfatima@uab.edu>
- Loading branch information
1 parent
f39c775
commit ad958d8
Showing
44 changed files
with
1,817 additions
and
1,151 deletions.
There are no files selected for viewing
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
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
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
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
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
Oops, something went wrong.