Skip to content

Commit

Permalink
Merge pull request #723 from sbliven/fix92
Browse files Browse the repository at this point in the history
Fix rcsb/symmetry#92: NullPointerException
  • Loading branch information
sbliven committed Jan 15, 2018
2 parents e9e69b0 + 0b24ceb commit b62c2e1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public boolean isSignificant() {
// If the refinement was attempted
if (params.getRefineMethod() != RefineMethod.NOT_REFINED) {
// Check for minimum length
if (multipleAlignment.getCoreLength() < params.getMinCoreLength())
if (multipleAlignment == null || multipleAlignment.getCoreLength() < params.getMinCoreLength())
return false;
// Allow 90% of original TM-Score theshold
if (multipleAlignment.getScore(MultipleAlignmentScorer.AVGTM_SCORE) < params
Expand Down

0 comments on commit b62c2e1

Please sign in to comment.