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

Fix rendering error in alignments tracks when filtering by tag in CRAM file #3703

Merged
merged 1 commit into from May 12, 2023

Conversation

Lilas-w
Copy link
Contributor

@Lilas-w Lilas-w commented May 12, 2023

When filtering by tag name and value in a CRAM file's alignments track, no features are rendered.

before filtering by tag:
Screen Shot 2023-05-12 at 15 31 09

after filtering by tag:
Screen Shot 2023-05-12 at 15 23 04

I fixed it by changing const val = record[tagFilter.tag] into const val = record.tags[tagFilter.tag].

@github-actions github-actions bot added the needs label triage Needs a label to show in changelog (breaking, enhancement, bug, documentation, or internal) label May 12, 2023
@cmdcolin cmdcolin changed the title Fix rendering error in alignments tracks when filtering by tag in Cram file Fix rendering error in alignments tracks when filtering by tag in CRAM file May 12, 2023
@cmdcolin cmdcolin added bug Something isn't working and removed needs label triage Needs a label to show in changelog (breaking, enhancement, bug, documentation, or internal) labels May 12, 2023
@cmdcolin
Copy link
Collaborator

you're absolutely correct, thanks for the fix

@cmdcolin cmdcolin merged commit 96db6a4 into GMOD:main May 12, 2023
4 checks passed
@cmdcolin
Copy link
Collaborator

added some integration tests to ensure this stays correct in this commit edc067f

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants