Skip to content

Commit

Permalink
Release Sierra 3.4.10
Browse files Browse the repository at this point in the history
  • Loading branch information
philiptzou committed Jan 13, 2024
1 parent 997b131 commit 8dd3cb9
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .latest-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20231209185606
20240113194711
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {
}

group = 'edu.stanford.hivdb'
version = '3.4.9'
version = '3.4.10'

sourceCompatibility = 15
targetCompatibility = 15
Expand Down
2 changes: 1 addition & 1 deletion sierra-tests/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {
}

group = 'edu.stanford.hivdb'
version = '3.4.9'
version = '3.4.10'

description = """Sierra Unit Tests"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,8 @@ public void testGetDrugSynonymMapWithException() {
@Test
public void testGetDrugResistAlgorithms() {
assertNotNull(hiv2.getDrugResistAlgorithms());
// 20200214, 28 algorithms
assertEquals(hiv2.getDrugResistAlgorithms().size(), 1);
// 20240113, 2 algorithms
assertEquals(hiv2.getDrugResistAlgorithms().size(), 2);
}

@Test
Expand All @@ -225,16 +225,16 @@ public void testGetDrugResistAlgorithms2() {

assertEquals(hiv2.getDrugResistAlgorithms(algoNames).size(), 3);

// 20200214 no HIVDB_9.0
// 20240113 no HIVDB_10.0
List<String> algoNames2 = new ArrayList<>();
algoNames2.add("HIVDB_9.0");
algoNames2.add("HIVDB_10.0");
assertEquals(hiv2.getDrugResistAlgorithms(algoNames2).size(), 1);
assertNull(hiv2.getDrugResistAlgorithms(algoNames2).iterator().next());
}

@Test
public void testGetDrugResistAlgorithm() {
DrugResistanceAlgorithm<HIV2> algo = hiv2.getDrugResistAlgorithm("HIVDB_9.0a3");
DrugResistanceAlgorithm<HIV2> algo = hiv2.getDrugResistAlgorithm("HIVDB_9.0");
assertNotNull(algo);
assertEquals(algo.getFamily(), "HIVDB");
}
Expand All @@ -248,9 +248,9 @@ public void testGetDrugResistAlgorithmWithException() {

@Test
public void testGetDrugResistAlgorithm2() {
DrugResistanceAlgorithm<HIV2> algo = hiv2.getDrugResistAlgorithm("HIVDB", "9.0a3");
DrugResistanceAlgorithm<HIV2> algo = hiv2.getDrugResistAlgorithm("HIVDB", "9.0");
assertNotNull(algo);
assertEquals(algo.getVersion(), "9.0a3");
assertEquals(algo.getVersion(), "9.0");
}


Expand Down Expand Up @@ -382,8 +382,8 @@ public void testGetMutationType() {
@Test
public void testGetMutationTypePairs() {
assertNotNull(hiv2.getMutationTypePairs());
// 20200214, 260 mutation type pairs
assertEquals(hiv2.getMutationTypePairs().size(), 124);
// 20240113, 130 mutation type pairs
assertEquals(hiv2.getMutationTypePairs().size(), 130);
}

@Test
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/version.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
version = 3.4.9
versionDate = 2023-12-09
version = 3.4.10
versionDate = 2024-01-13

0 comments on commit 8dd3cb9

Please sign in to comment.