File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
biojava-structure/src/main/java/org/biojava/nbio/structure/align/multiple/mc Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -493,7 +493,7 @@ private boolean shiftRow() {
493493 } else if (block .getAlignRes ().get (str ).get (rightRes ) == null ) {
494494 // Choose the sequentially next residue of the known one
495495 Integer residue = block .getAlignRes ().get (str ).get (leftRes ) + 1 ;
496- if (freePool .contains (residue )) {
496+ if (freePool .get ( str ). contains (residue )) {
497497 block .getAlignRes ().get (str ).set (res , residue );
498498 freePool .get (str ).remove (residue );
499499 } else
@@ -626,7 +626,7 @@ else if (block.getAlignRes().get(str).get(rightPrevRes1) + 1 < block
626626 if (resR1 != null )
627627 resR1 += 1 ;
628628
629- if (freePool .contains (resR1 )) {
629+ if (freePool .get ( str ). contains (resR1 )) {
630630 if (rightBoundary1 == block .length () - 1 ) {
631631 block .getAlignRes ().get (str ).add (resR1 );
632632 } else
You can’t perform that action at this time.
0 commit comments