Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/task.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CellBase Develop workflow
name: CellBase task workflow

on:
push:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,14 +154,14 @@ public void testSearchSnpBydbSnpId() throws Exception {
int dataRelease = 7;
ClientConfiguration clientConfiguration = new ClientConfiguration()
.setDefaultSpecies("hsapiens")
.setVersion("v5.8.3-SNAPSHOT")
.setVersion("v5.8")
.setRest(new RestConfig(Collections.singletonList("https://ws.zettagenomics.com/cellbase"), 2000));

CellBaseClient client = new CellBaseClient(clientConfiguration);

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

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

CellBaseClient client = new CellBaseClient(clientConfiguration);

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

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

CellBaseClient client = new CellBaseClient(clientConfiguration);

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

Expand Down
Loading