Skip to content

Commit

Permalink
Fix a crash due to too many indistinguishable proteins.
Browse files Browse the repository at this point in the history
Reported in #481
  • Loading branch information
fcyu committed Dec 22, 2023
1 parent b5b4117 commit 001dbc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/spc/protxml.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ type Protein struct {
ProteinName []byte `xml:"protein_name,attr"`
UniqueStrippedPeptides []byte `xml:"unique_stripped_peptides,attr"`
GroupSiblingID []byte `xml:"group_sibling_id,attr"`
NumberIndistinguishableProteins int16 `xml:"n_indistinguishable_proteins,attr"`
NumberIndistinguishableProteins int32 `xml:"n_indistinguishable_proteins,attr"`
TotalNumberPeptides int `xml:"total_number_peptides,attr"`
TotalNumberIndPeptides int `xml:"total_number_distinct_peptides,attr"`
PercentCoverage float32 `xml:"percent_coverage,attr"`
Expand Down

0 comments on commit 001dbc1

Please sign in to comment.