From: Jim Procter Date: Mon, 17 Oct 2022 11:49:02 +0000 (+0100) Subject: JAL-3855 bump AF version to 3 - keep contact renderer happy by filling out maxcols... X-Git-Tag: Release_2_11_4_0~542 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=71b8b157747abb849fb50316450a22d4559873da;p=jalview.git JAL-3855 bump AF version to 3 - keep contact renderer happy by filling out maxcols and maxrows attribute in PAE --- diff --git a/src/jalview/ws/datamodel/alphafold/PAEContactMatrix.java b/src/jalview/ws/datamodel/alphafold/PAEContactMatrix.java index 8b6771e..3a8e26a 100644 --- a/src/jalview/ws/datamodel/alphafold/PAEContactMatrix.java +++ b/src/jalview/ws/datamodel/alphafold/PAEContactMatrix.java @@ -75,6 +75,8 @@ public class PAEContactMatrix implements ContactMatrixI row++; col = 0; } + maxcol = length; + maxrow = length; } /** diff --git a/src/jalview/ws/dbsources/EBIAlfaFold.java b/src/jalview/ws/dbsources/EBIAlfaFold.java index ba78199..f98ae6d 100644 --- a/src/jalview/ws/dbsources/EBIAlfaFold.java +++ b/src/jalview/ws/dbsources/EBIAlfaFold.java @@ -61,7 +61,7 @@ public class EBIAlfaFold extends EbiFileRetrievedProxy private static final int PDB_ID_LENGTH = 4; - private static String AF_VERSION = "2"; + private static String AF_VERSION = "3"; public EBIAlfaFold() {