JAL-2105 rest versions updated to 4.6, change log link added
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Wed, 17 Aug 2016 11:16:43 +0000 (12:16 +0100)
committergmungoc <g.m.carstairs@dundee.ac.uk>
Wed, 17 Aug 2016 11:16:43 +0000 (12:16 +0100)
src/jalview/ext/ensembl/EnsemblRestClient.java

index f9cfe05..72efdc1 100644 (file)
@@ -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<String, EnsemblInfo> 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)