diff --git a/Aligner/build.gradle b/Aligner/build.gradle index de238b0e..fd9dc5f0 100644 --- a/Aligner/build.gradle +++ b/Aligner/build.gradle @@ -6,7 +6,7 @@ plugins { } group = 'edu.stanford.hivdb' -version = '2.2.9' +version = '2.2.10' description = """Aligner""" diff --git a/DrugResistance/build.gradle b/DrugResistance/build.gradle index 880dc94b..ce8f1975 100644 --- a/DrugResistance/build.gradle +++ b/DrugResistance/build.gradle @@ -6,7 +6,7 @@ plugins { } group = 'edu.stanford.hivdb' -version = '2.2.9' +version = '2.2.10' description = """DrugResistance""" diff --git a/TestResources/build.gradle b/TestResources/build.gradle index e4583bf6..415d50da 100644 --- a/TestResources/build.gradle +++ b/TestResources/build.gradle @@ -5,7 +5,7 @@ plugins { } group = 'edu.stanford.hivdb' -version = '2.2.9' +version = '2.2.10' description = """Test resources""" diff --git a/Utilities/build.gradle b/Utilities/build.gradle index 709f531e..e715a67e 100644 --- a/Utilities/build.gradle +++ b/Utilities/build.gradle @@ -6,7 +6,7 @@ plugins { } group = 'edu.stanford.hivdb' -version = '2.2.9' +version = '2.2.10' description = """Utilities""" diff --git a/Utilities/src/main/java/edu/stanford/hivdb/utilities/FastaUtils.java b/Utilities/src/main/java/edu/stanford/hivdb/utilities/FastaUtils.java index be15a942..98695686 100644 --- a/Utilities/src/main/java/edu/stanford/hivdb/utilities/FastaUtils.java +++ b/Utilities/src/main/java/edu/stanford/hivdb/utilities/FastaUtils.java @@ -29,6 +29,7 @@ import java.io.OutputStream; import java.util.ArrayList; import java.util.Collection; +import java.util.Collections; import java.util.List; import com.mashape.unirest.http.HttpResponse; @@ -104,7 +105,7 @@ public static List fetchGenbank(Collection accessions) { .field("id", String.join(",", accessions)) .asBinary(); } catch (UnirestException e) { - throw new RuntimeException(e); + return Collections.emptyList(); } return readStream(response.getBody()); } diff --git a/Utilities/src/main/java/edu/stanford/hivdb/utilities/Sequence.java b/Utilities/src/main/java/edu/stanford/hivdb/utilities/Sequence.java index a922f54b..8e1c676d 100644 --- a/Utilities/src/main/java/edu/stanford/hivdb/utilities/Sequence.java +++ b/Utilities/src/main/java/edu/stanford/hivdb/utilities/Sequence.java @@ -18,7 +18,6 @@ package edu.stanford.hivdb.utilities; -import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.HashMap; diff --git a/WebApplications/build.gradle b/WebApplications/build.gradle index 5fb00bf9..d8707f14 100644 --- a/WebApplications/build.gradle +++ b/WebApplications/build.gradle @@ -6,7 +6,7 @@ plugins { } group = 'edu.stanford.hivdb' -version = '2.2.9' +version = '2.2.10' description = """WebApplications Maven Webapp""" diff --git a/WebApplications/src/main/resources/version.properties b/WebApplications/src/main/resources/version.properties index 2abf75c5..3ca8b505 100644 --- a/WebApplications/src/main/resources/version.properties +++ b/WebApplications/src/main/resources/version.properties @@ -1,2 +1,2 @@ -version = 2.2.9 -versionDate = 2018-10-19 +version = 2.2.10 +versionDate = 2018-11-26