Skip to content

Commit 021d3fc

Browse files
committed
Fix bug in internal symmetry levels report
1 parent a191165 commit 021d3fc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

biojava-structure/src/main/java/org/biojava/nbio/structure/symmetry/internal/CeSymmIterative.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,8 +224,10 @@ else if (!r.isSignificant())
224224
private boolean buildAlignment() throws StructureException {
225225

226226
// If one level, nothing to build
227-
if (levels.size() == 1)
227+
if (levels.size() == 1) {
228+
result.setSymmLevels(1);
228229
return false;
230+
}
229231

230232
// Initialize a new multiple alignment
231233
MultipleAlignment msa = new MultipleAlignmentImpl();

0 commit comments

Comments
 (0)