From: Jim Procter Date: Sun, 7 Jul 2013 11:38:02 +0000 (+0100) Subject: JAL-1016 - do our assertions immediatly X-Git-Tag: Jalview_2_9~229^2~5 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=0f8e8fef1abe7837642706ee5b5f97d3e1eda9db;p=jalview.git JAL-1016 - do our assertions immediatly --- diff --git a/src/jalview/ext/jmol/JalviewJmolBinding.java b/src/jalview/ext/jmol/JalviewJmolBinding.java index 257ca8c..216c09e 100644 --- a/src/jalview/ext/jmol/JalviewJmolBinding.java +++ b/src/jalview/ext/jmol/JalviewJmolBinding.java @@ -323,9 +323,10 @@ public abstract class JalviewJmolBinding implements StructureListener, public void superposeStructures(AlignmentI[] _alignment, int[] _refStructure, ColumnSelection[] _hiddenCols) { + assert (_alignment.length == _refStructure.length && _alignment.length != _hiddenCols.length); + String[] files = getPdbFile(); StringBuffer selectioncom = new StringBuffer(); - assert (_alignment.length == _refStructure.length && _alignment.length != _hiddenCols.length); // union of all aligned positions are collected together. for (int a = 0; a < _alignment.length; a++) {