git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0899b78
)
JAL-3092 make sure base pair counter is always moved in loop that computes the helix...
author
Jim Procter
<jprocter@issues.jalview.org>
Thu, 30 Aug 2018 15:31:37 +0000
(16:31 +0100)
committer
Jim Procter
<jprocter@issues.jalview.org>
Thu, 30 Aug 2018 15:31:49 +0000
(16:31 +0100)
src/jalview/analysis/Rna.java
patch
|
blob
|
history
diff --git
a/src/jalview/analysis/Rna.java
b/src/jalview/analysis/Rna.java
index
0d39abf
..
e5cda93
100644
(file)
--- a/
src/jalview/analysis/Rna.java
+++ b/
src/jalview/analysis/Rna.java
@@
-440,8
+440,8
@@
public class Rna
/*
* catch things like <<..<<..>>..<<..>>>> |
*/
- int j = bps.size() - 1;
- while (j >= 0)
+ int j = bps.size();
+ while (--j >= 0)
{
int popen = bps.get(j).getBP5();
@@
-460,7
+460,6
@@
public class Rna
break;
}
}
- j -= 1;
}
// Put positions and helix information into the hashtable