Skip to content

Commit

Permalink
oopsies
Browse files Browse the repository at this point in the history
  • Loading branch information
nbollis committed Dec 16, 2024
1 parent 424f13f commit f1eec4c
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -898,8 +898,7 @@ public bool Equals(PeptideWithSetModifications other)
// interface equals first because it does null and reference checks
return (this as IBioPolymerWithSetMods).Equals(other)
&& OneBasedStartResidue == other!.OneBasedStartResidue
&& (Parent?.Accession == null && other?.Parent.Accession == null
|| other.Parent.Accession.Equals(Parent?.Accession));
&& Equals(Parent?.Accession, other.Parent?.Accession);
}

public override int GetHashCode()
Expand Down

0 comments on commit f1eec4c

Please sign in to comment.