Skip to content

Commit

Permalink
The Find Results window says "Peptide" where it should say "Molecule"…
Browse files Browse the repository at this point in the history
  • Loading branch information
bspratt authored Jul 29, 2024
1 parent 244eeeb commit 8361512
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pwiz_tools/Skyline/Model/Find/FindResult.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
using pwiz.Common.SystemUtil;
using pwiz.Skyline.Controls.SeqNode;
using pwiz.Skyline.Util.Extensions;
using static pwiz.Skyline.Util.Helpers;

namespace pwiz.Skyline.Model.Find
{
Expand Down Expand Up @@ -172,6 +173,8 @@ public string GetLocationType()
break;
}

nodeType = PeptideToMoleculeTextMapper.Translate(nodeType, Document?.DocumentType ?? SrmDocument.DOCUMENT_TYPE.none); // Translate "peptide"=>"molecule" etc as needed

if (Bookmark.ReplicateIndex.HasValue)
{
return TextUtil.SpaceSeparate(nodeType + @" " + FindResources.BookmarkEnumerator_GetLocationType_Results);
Expand Down

0 comments on commit 8361512

Please sign in to comment.