-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #129 from KPMP/develop
Release v2.3 merge
- Loading branch information
Showing
45 changed files
with
746 additions
and
396 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
.* | ||
*.iml | ||
gradle | ||
src | ||
build/* | ||
!build/docker |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
name: Build pegasus-data docker image | ||
|
||
on: | ||
push: | ||
|
||
jobs: | ||
build-gradle-project: | ||
env: | ||
IMAGE_TAG: 2.3 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Get branch names | ||
id: branch-names | ||
uses: tj-actions/branch-names@v8 | ||
|
||
- name: Get current branch name | ||
if: steps.branch-names.outputs.is_default == 'false' | ||
run: | | ||
echo "Running on branch: ${{ steps.branch-names.outputs.current_branch }}" | ||
- name: Checkout project sources | ||
uses: actions/checkout@v3 | ||
- uses: actions/setup-java@v3 | ||
with: | ||
java-version: '8' | ||
distribution: 'temurin' | ||
- name: Setup Gradle | ||
uses: gradle/gradle-build-action@v2 | ||
with: | ||
gradle-version: 7.4 | ||
|
||
- name: Login to Docker Hub | ||
uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a | ||
with: | ||
username: ${{ secrets.ENV_DOCKER_USER }} | ||
password: ${{ secrets.ENV_DOCKER_PASS }} | ||
|
||
- name: Run build with Gradle Wrapper | ||
run: | | ||
./gradlew build docker | ||
- name: Push to Docker Hub if branch is develop | ||
if: steps.branch-names.outputs.current_branch == 'develop' | ||
run: | | ||
docker push "kingstonduo/pegasus-data:$IMAGE_TAG" | ||
- name: Push to Docker Hub if branch is not develop | ||
if: ${{ !steps.branch-names.outputs.current_branch == 'develop' }} | ||
run: | | ||
docker push "kingstonduo/pegasus-data:${{ steps.branch-names.outputs.current_branch }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 6 additions & 2 deletions
8
src/main/java/org/kpmp/cellTypeSummary/ClusterHierarchyService.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
54 changes: 32 additions & 22 deletions
54
src/main/java/org/kpmp/dataSummary/AtlasRepoSummaryRow.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,53 +1,63 @@ | ||
package org.kpmp.dataSummary; | ||
|
||
public class AtlasRepoSummaryRow { | ||
private int openCount; | ||
private int controlledCount; | ||
private String omicsType; | ||
private AtlasRepoSummaryLinkInformation linkInformation; | ||
private AtlasRepositoryLinkInformation linkInformation; | ||
private Long akiCount; | ||
private Long ckdCount; | ||
private Long hrtCount; | ||
private Long dmrCount; | ||
|
||
public AtlasRepoSummaryRow(String omicsType, AtlasRepoSummaryLinkInformation linkInformation) { | ||
public AtlasRepoSummaryRow(String omicsType, AtlasRepositoryLinkInformation linkInformation) { | ||
this.omicsType = omicsType; | ||
this.linkInformation = linkInformation; | ||
} | ||
|
||
public int getOpenCount() { | ||
return openCount; | ||
public Long getAkiCount() { | ||
return this.akiCount; | ||
} | ||
|
||
public void setOpenCount(int openCount) { | ||
this.openCount = openCount; | ||
public void setAkiCount(Long akiCount) { | ||
this.akiCount = akiCount; | ||
} | ||
|
||
public int getControlledCount() { | ||
return controlledCount; | ||
public Long getCkdCount() { | ||
return this.ckdCount; | ||
} | ||
|
||
public void setControlledCount(int controlledCount) { | ||
this.controlledCount = controlledCount; | ||
public void setCkdCount(Long ckdCount) { | ||
this.ckdCount = ckdCount; | ||
} | ||
|
||
public String getOmicsType() { | ||
return omicsType; | ||
public Long getHrtCount() { | ||
return this.hrtCount; | ||
} | ||
|
||
public void setOmicsType(String omicsType) { | ||
this.omicsType = omicsType; | ||
public void setHrtCount(Long hrtCount) { | ||
this.hrtCount = hrtCount; | ||
} | ||
|
||
public Long getDmrCount() { | ||
return this.dmrCount; | ||
} | ||
|
||
public void addToControlledCount(int count) { | ||
this.controlledCount = this.controlledCount + count; | ||
public void setDmrCount(Long dmrCount) { | ||
this.dmrCount = dmrCount; | ||
} | ||
|
||
public void addToOpenCount(int count) { | ||
this.openCount = this.openCount + count; | ||
public String getOmicsType() { | ||
return omicsType; | ||
} | ||
|
||
public void setOmicsType(String omicsType) { | ||
this.omicsType = omicsType; | ||
} | ||
|
||
public AtlasRepoSummaryLinkInformation getLinkInformation() { | ||
public AtlasRepositoryLinkInformation getLinkInformation() { | ||
return linkInformation; | ||
} | ||
|
||
public void setLinkInformation(AtlasRepoSummaryLinkInformation linkInformation) { | ||
public void setLinkInformation(AtlasRepositoryLinkInformation linkInformation) { | ||
this.linkInformation = linkInformation; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.