From 64e7e6a6ce37740ead32e216cffb9d21d18f3c00 Mon Sep 17 00:00:00 2001 From: gmungoc Date: Wed, 17 Aug 2016 12:16:43 +0100 Subject: [PATCH] JAL-2105 rest versions updated to 4.6, change log link added --- src/jalview/ext/ensembl/EnsemblRestClient.java | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) 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) -- 1.7.10.2