Skip to content

Commit 1e5aa89

Browse files
authored
Merge pull request #728 from opencb/TASK-7549
TASK-7549 - Include new annotation data: ACMG and variant context
2 parents 37bcc91 + 9ba7ead commit 1e5aa89

6 files changed

Lines changed: 211 additions & 53 deletions

File tree

.github/workflows/task.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: CellBase Develop workflow
1+
name: CellBase task workflow
22

33
on:
44
push:

cellbase-client/src/test/java/org/opencb/cellbase/client/rest/VariantClientTest.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -154,14 +154,14 @@ public void testSearchSnpBydbSnpId() throws Exception {
154154
int dataRelease = 7;
155155
ClientConfiguration clientConfiguration = new ClientConfiguration()
156156
.setDefaultSpecies("hsapiens")
157-
.setVersion("v5.8.3-SNAPSHOT")
157+
.setVersion("v5.8")
158158
.setRest(new RestConfig(Collections.singletonList("https://ws.zettagenomics.com/cellbase"), 2000));
159159

160160
CellBaseClient client = new CellBaseClient(clientConfiguration);
161161

162162
// Assumptions before running the test
163163
ObjectMap result = client.getMetaClient().about().firstResult();
164-
Assumptions.assumeTrue(VersionUtils.isMinVersion("5.8.3-SNAPSHOT", result.getString("Version")));
164+
Assumptions.assumeTrue(VersionUtils.isMinVersion("5.8", result.getString("Version")));
165165
CellBaseDataResponse<DataRelease> dataReleaseResponse = client.getMetaClient().dataReleases();
166166
Assumptions.assumeTrue(dataReleaseResponse.getResponses().get(0).getResults().stream().map(DataRelease::getRelease).collect(Collectors.toList()).contains(dataRelease));
167167

@@ -180,14 +180,14 @@ public void testSearchSnpByPosition() throws Exception {
180180
int dataRelease = 7;
181181
ClientConfiguration clientConfiguration = new ClientConfiguration()
182182
.setDefaultSpecies("hsapiens")
183-
.setVersion("v5.8.3-SNAPSHOT")
183+
.setVersion("v5.8")
184184
.setRest(new RestConfig(Collections.singletonList("https://ws.zettagenomics.com/cellbase"), 2000));
185185

186186
CellBaseClient client = new CellBaseClient(clientConfiguration);
187187

188188
// Assumptions before running the test
189189
ObjectMap result = client.getMetaClient().about().firstResult();
190-
Assumptions.assumeTrue(VersionUtils.isMinVersion("5.8.3-SNAPSHOT", result.getString("Version")));
190+
Assumptions.assumeTrue(VersionUtils.isMinVersion("5.8", result.getString("Version")));
191191
CellBaseDataResponse<DataRelease> dataReleaseResponse = client.getMetaClient().dataReleases();
192192
Assumptions.assumeTrue(dataReleaseResponse.getResponses().get(0).getResults().stream().map(DataRelease::getRelease).collect(Collectors.toList()).contains(dataRelease));
193193

@@ -211,14 +211,14 @@ public void testStarsWithSnp() throws Exception {
211211
int dataRelease = 7;
212212
ClientConfiguration clientConfiguration = new ClientConfiguration()
213213
.setDefaultSpecies("hsapiens")
214-
.setVersion("v5.8.3-SNAPSHOT")
214+
.setVersion("v5.8")
215215
.setRest(new RestConfig(Collections.singletonList("https://ws.zettagenomics.com/cellbase"), 2000));
216216

217217
CellBaseClient client = new CellBaseClient(clientConfiguration);
218218

219219
// Assumptions before running the test
220220
ObjectMap result = client.getMetaClient().about().firstResult();
221-
Assumptions.assumeTrue(VersionUtils.isMinVersion("5.8.3-SNAPSHOT", result.getString("Version")));
221+
Assumptions.assumeTrue(VersionUtils.isMinVersion("5.8", result.getString("Version")));
222222
CellBaseDataResponse<DataRelease> dataReleaseResponse = client.getMetaClient().dataReleases();
223223
Assumptions.assumeTrue(dataReleaseResponse.getResponses().get(0).getResults().stream().map(DataRelease::getRelease).collect(Collectors.toList()).contains(dataRelease));
224224

0 commit comments

Comments
 (0)