From 71b8b157747abb849fb50316450a22d4559873da Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Mon, 17 Oct 2022 12:49:02 +0100 Subject: [PATCH] JAL-3855 bump AF version to 3 - keep contact renderer happy by filling out maxcols and maxrows attribute in PAE --- src/jalview/ws/datamodel/alphafold/PAEContactMatrix.java | 2 ++ src/jalview/ws/dbsources/EBIAlfaFold.java | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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() { -- 1.7.10.2