From: gmungoc Date: Wed, 17 Aug 2016 11:16:43 +0000 (+0100) Subject: JAL-2105 rest versions updated to 4.6, change log link added X-Git-Tag: Release_2_10_0~105 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=64e7e6a6ce37740ead32e216cffb9d21d18f3c00;p=jalview.git JAL-2105 rest versions updated to 4.6, change log link added --- diff --git a/src/jalview/ext/ensembl/EnsemblRestClient.java b/src/jalview/ext/ensembl/EnsemblRestClient.java index f9cfe05..72efdc1 100644 --- a/src/jalview/ext/ensembl/EnsemblRestClient.java +++ b/src/jalview/ext/ensembl/EnsemblRestClient.java @@ -35,9 +35,11 @@ abstract class EnsemblRestClient extends EnsemblSequenceFetcher * changes to Ensembl REST API * @see https://github.com/Ensembl/ensembl-rest/wiki/Change-log */ - private static final String LATEST_ENSEMBLGENOMES_REST_VERSION = "4.4"; + private static final String LATEST_ENSEMBLGENOMES_REST_VERSION = "4.6"; - private static final String LATEST_ENSEMBL_REST_VERSION = "4.5"; + private static final String LATEST_ENSEMBL_REST_VERSION = "4.6"; + + private static final String REST_CHANGE_LOG = "https://github.com/Ensembl/ensembl-rest/wiki/Change-log"; private static Map domainData; @@ -453,9 +455,8 @@ abstract class EnsemblRestClient extends EnsemblSequenceFetcher if (laterVersion) { System.err.println(String.format( - "Expected %s REST version %s but found %s", getDbSource(), - expected, - version)); + "Expected %s REST version %s but found %s, see %s", + getDbSource(), expected, version, REST_CHANGE_LOG)); } info.restVersion = version; } catch (Throwable t)