Skip to content

Commit

Permalink
Importer: fix error msg when peptide not in protein for not linkable pos
Browse files Browse the repository at this point in the history
When a peptide is found not found in any proteins when apply linkable
positions, report the attempted linkable positions used as well.
A 'if/else' was reversed for the added part of the error message.
!!  Only which error message was in error, not the processing of data
that was not in error !!
  • Loading branch information
danjasuw committed Sep 15, 2020
1 parent 1db3577 commit f7cd3af
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ private GetCrosslinkProteinMappingsSinglePeptideData getProteinMappingForSingleP
Collections.sort( peptideLinkPositions );


if ( linkers_Main_ForSingleSearch.isAllLinkersHave_LinkablePositions() ) {
if ( ! linkers_Main_ForSingleSearch.isAllLinkersHave_LinkablePositions() ) {

// Not all linkers have linkable positions so linkable positions not used for filtering

Expand Down

0 comments on commit f7cd3af

Please sign in to comment.