JAL-2349 fix up tests for Java 11 compatibility and require sequence associated mappa...
[jalview.git] / src / jalview / ws / datamodel / alphafold / MappableContactMatrix.java
index ae2b37c..9497d85 100644 (file)
@@ -55,7 +55,11 @@ public abstract class MappableContactMatrix<T extends MappableContactMatrix<T>>
     return toSeq;
   }
 
-  protected void setRefSeq(SequenceI _refSeq)
+  /**
+   * set the reference sequence and construct the mapping between the start-end positions of given sequence and row/columns of contact matrix
+   * @param _refSeq
+   */
+  public void setRefSeq(SequenceI _refSeq)
   {
     refSeq = _refSeq;
     while (refSeq.getDatasetSequence() != null)