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

NickAkhmetov/CAT-1111, CAT-965, CAT-1148 Organ Page Fixes #3692

Merged
merged 3 commits into from
Feb 12, 2025

Conversation

NickAkhmetov
Copy link
Collaborator

Summary

This PR fixes a few issues all related to the organ page:

  • The urinary bladder page now includes bladder datasets
  • The ovary and fallopian tube pages now include appropriate search terms for handling laterality, i.e. they now include the left/right ovary and fallopian tube datasets, respectively.
  • Queries for organ information against the portal UI back-end now accept search terms as synonyms for the main term for lookup purposes, which should fix icon lookup issues for organ icons whose common names do not match their full anatomical names (e.g. bladder and urinary bladder).
  • Updates cellpop so that the control drawer is drawn under the HuBMAP appbar.

Design Documentation/Original Tickets

Fallopian tube/ovary/bladder datasets missing from organ page: https://hms-dbmi.atlassian.net/browse/CAT-1111
Missing organ icon: https://hms-dbmi.atlassian.net/browse/CAT-965
Cellpop plot controls overlap with appbar: https://hms-dbmi.atlassian.net/browse/CAT-1148

Testing

Manually tested and confirmed existing unit tests remained intact.

Screenshots/Video

Updated organ pages screenshots (click to expand)

Urinary Bladder:

image
image

Fallopian Tube:

image
image

Ovary:

image
image

Bladder icon is now present:

image

Cellpop no longer overlaps with appbar:

Screen.Recording.2025-02-12.101444.mp4

Checklist

  • Code follows the project's coding standards
    • Lint checks pass locally
    • New CHANGELOG-your-feature-name-here.md is present in the root directory, describing the change(s) in full sentences.
  • Unit tests covering the new feature have been added
  • All existing tests pass
  • Any relevant documentation in JIRA/Confluence has been updated to reflect the new feature
  • Any new functionalities have appropriate analytics functionalities added

Additional Notes

Please specify any additional information or context relevant to this PR.

Copy link
Collaborator

@austenem austenem left a comment

Choose a reason for hiding this comment

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

Nice job, just one question!

if len(search) > 0:
for s in search:
organ_file_names[s.lower()] = k
print(organ_file_names)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Does this print statement need to be here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It does not, left over from troubleshooting :) Thanks for catching it!

Copy link
Collaborator

@john-conroy john-conroy left a comment

Choose a reason for hiding this comment

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

Looks goof to me!

@NickAkhmetov NickAkhmetov merged commit 13fdbc7 into main Feb 12, 2025
8 checks passed
@NickAkhmetov NickAkhmetov deleted the nickakhmetov/organ-page-fixes branch February 12, 2025 20:24
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.

3 participants