Skip to content

Commit

Permalink
Bugfix prev commit.
Browse files Browse the repository at this point in the history
Handle search with only PSM Annotation Types (Does not have Reported
Peptide Annotation Types)
  • Loading branch information
danjasuw committed Jun 20, 2019
1 parent 7193993 commit 6ebf259
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,12 @@ private void get_searchProgramsPerSearchId_ThatMatch_ProjectLevelCutoffs_PerType
Set<Integer> searchProgramsPerSearchId_ThatMatch_ProjectLevelCutoffs // Add to this Set in this method
) throws Exception {

if ( annotationType_DTOMap == null ) {
// No data in annotationType_DTOMap so exit

return; // EARLY RETURN
}

for ( Map.Entry<Integer, AnnotationTypeDTO> entry : annotationType_DTOMap.entrySet() ) {

AnnotationTypeDTO annotationTypeDTO = entry.getValue();
Expand Down

0 comments on commit 6ebf259

Please sign in to comment.