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

Glyco Visualization Crash Fix on ambiguous protein from peptide #2317

Merged
merged 3 commits into from
Nov 30, 2023

Conversation

nbollis
Copy link
Member

@nbollis nbollis commented Nov 15, 2023

Fixed an issue where the PsmFromTsv.StartAndEndResidueInProtein was set to "".
This caused the DrawnSequence.AnnotateBaseSequence to crash.
A simple if statement was enough to circumvent this issue and allow plotting.
This issue is caused by the peptide sequence not being unique and could potentially derive from several proteins.

@nbollis nbollis changed the title Glyco Visualization Crash Fix on no StartAndEndResidueInProtein Glyco Visualization Crash Fix on ambiguous protein from peptide Nov 15, 2023
Copy link

codecov bot commented Nov 15, 2023

Codecov Report

Merging #2317 (af57984) into master (944aef9) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2317   +/-   ##
=======================================
  Coverage   92.67%   92.67%           
=======================================
  Files         135      135           
  Lines       20982    20987    +5     
  Branches     2880     2880           
=======================================
+ Hits        19445    19450    +5     
  Misses       1063     1063           
  Partials      474      474           
Files Coverage Δ
...etaMorpheus/GuiFunctions/MetaDraw/DrawnSequence.cs 99.36% <100.00%> (+0.01%) ⬆️

Copy link
Contributor

@Alexander-Sol Alexander-Sol left a comment

Choose a reason for hiding this comment

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

The Sistine Chapel of Object Oriented Programming. A truly breathtaking algorithm

@nbollis nbollis merged commit 6676503 into smith-chem-wisc:master Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants