Skip to content

Commit a6e8366

Browse files
authored
Merge branch 'master' into devel
2 parents 5c41991 + 1c76701 commit a6e8366

File tree

9 files changed

+1091
-1267
lines changed

9 files changed

+1091
-1267
lines changed

.github/workflows/docker-build.yml

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -24,18 +24,24 @@ on:
2424
required: true
2525
type: boolean
2626
default: true
27-
workflow_run:
28-
workflows: ["update OPG version"]
29-
types:
30-
- completed
27+
push:
3128
branches:
3229
- master
30+
paths:
31+
- VERSION
32+
33+
pull_request:
34+
branches:
35+
- master
36+
paths:
37+
- VERSION
3338

3439
jobs:
3540

3641
build:
3742

38-
runs-on: ubuntu-latest
43+
# runs-on: ubuntu-latest # free GH worker, not enough memory
44+
runs-on: self-hosted # run on dev-bigomics-frankfurt self-hosted runner
3945

4046
steps:
4147
-
@@ -67,10 +73,10 @@ jobs:
6773
push: true
6874
no-cache: true
6975
build-args: |
70-
BRANCH=${{ github.event.inputs.branch }}
71-
update_playdata=${{ github.event.inputs.update_playdata }}
72-
update_bigdash=${{ github.event.inputs.update_bigdash }}
73-
update_playbase=${{ github.event.inputs.update_playbase }}
76+
BRANCH=${{ github.event.inputs.branch || github.ref_name }}
77+
update_playdata=${{ github.event.inputs.update_playdata || 'false' }}
78+
update_bigdash=${{ github.event.inputs.update_bigdash || 'true' }}
79+
update_playbase=${{ github.event.inputs.update_playbase || 'true' }}
7480
tags: |
75-
${{ github.event.inputs.branch == 'master' && format('{0}/omicsplayground:{1}', secrets.DOCKERHUB_USERNAME, steps.get_version.outputs.VERSION) || '' }}
76-
${{ github.event.inputs.branch != 'master' && format('{0}/omicsplayground:{1}', secrets.DOCKERHUB_USERNAME, github.event.inputs.branch) || '' }}
81+
${{ (github.event.inputs.branch || github.ref_name) == 'master' && format('{0}/omicsplayground:{1}, {0}/omicsplayground:latest', secrets.DOCKERHUB_USERNAME, steps.get_version.outputs.VERSION) || '' }}
82+
${{ (github.event.inputs.branch || github.ref_name) != 'master' && format('{0}/omicsplayground:{1}', secrets.DOCKERHUB_USERNAME, github.event.inputs.branch || github.ref_name) || '' }}

.github/workflows/update_version.yaml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,16 @@ jobs:
3737
# Set as environment variable for next steps
3838
echo "NEW_VERSION=$BUILD" >> $GITHUB_ENV
3939
40-
- name: Commit and push version changes
40+
#- name: Update changelog
41+
# run: |
42+
# make changelog
43+
44+
- name: Commit and push version changes + changelog
4145
run: |
4246
git config --local user.name "$GITHUB_ACTOR"
4347
git config --local user.email "[email protected]"
4448
git add VERSION
49+
# git add VERSION FEATURES.md CHANGELOG.md CHANGELOG-full.md CHANGELOG-pr.md
4550
git commit -m "Update version to $NEW_VERSION"
4651
git pull --ff-only
4752
git push origin
@@ -52,3 +57,11 @@ jobs:
5257
git config --local user.email "[email protected]"
5358
git tag $NEW_VERSION
5459
git push origin $NEW_VERSION
60+
61+
- name: Create GitHub Release
62+
env:
63+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
64+
run: |
65+
gh release create "$NEW_VERSION" \
66+
--title "Release $NEW_VERSION"
67+
# --notes-file FEATURES.md

CHANGELOG-full.md

Lines changed: 994 additions & 0 deletions
Large diffs are not rendered by default.

CHANGELOG-pr.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
### v3.5.0 (2024-11-08)
1+
### v4.0.3+master250922 (2025-09-22)
22

33
- Minor fixes and improvements in backend.
44

55

6-
### v3.4.3 (2024-07-22)
6+
### v4.0.2+master250917 (2025-09-17)
77

88
- Minor fixes and improvements in backend.
99

1010

11-
### v3.4.0 (2024-06-19)
11+
### v4.0.1+master250915 (2025-09-15)
1212

1313
- Minor fixes and improvements in backend.
1414

CHANGELOG.md

Lines changed: 33 additions & 1080 deletions
Large diffs are not rendered by default.

FEATURES.md

Lines changed: 8 additions & 156 deletions
Large diffs are not rendered by default.

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4.0.0+master250911
1+
v4.0.3+master250922

components/board.upload/R/upload_module_normalization.R

Lines changed: 20 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,8 @@ upload_module_normalization_server <- function(
431431
aa <- sort(unique(as.numeric(gsub(".*,|\\]", "", as.character(x.avg2)))))
432432
barplot(rbind(x.nar2, 1 - x.nar2),
433433
beside = FALSE, names.arg = aa, las = 1,
434-
xlab = "average intensity (log2)", ylab = "missing value ratio")
434+
xlab = "average intensity (log2)", ylab = "missing value ratio"
435+
)
435436
title("missingness vs. average intensity")
436437
} else {
437438
plot.new()
@@ -441,19 +442,22 @@ upload_module_normalization_server <- function(
441442

442443
if (input$missing_plottype == "missingness per sample") {
443444
if (any(X2 > 0)) {
444-
par(mfrow = c(1,1), mar = c(5, 5, 2, 2), mgp = c(2.5, 0.75, 0))
445+
par(mfrow = c(1, 1), mar = c(5, 5, 2, 2), mgp = c(2.5, 0.75, 0))
445446
X3 <- imputedX()$X
446-
pct.na <- colMeans(is.na(X3))*100
447-
bp <- barplot(pct.na, col = "grey", xaxt = "n",
448-
ylab = "Missing %", ylim = c(0, max(pct.na)+10),
449-
cex.lab = 1.5, las = 2)
450-
cex <- max(0.7, min(1.5, 5 / ncol(X3)))
451-
text(x = bp, y = par("usr")[3] - 0.02 * diff(par("usr")[3:4]),
452-
labels = names(pct.na), srt = 45, adj = 1, xpd = TRUE, cex = cex)
453-
title("missingness per sample"); grid()
447+
pct.na <- colMeans(is.na(X3)) * 100
448+
bp <- barplot(pct.na,
449+
col = "grey", xaxt = "n",
450+
ylab = "Missing %", ylim = c(0, max(pct.na) + 10),
451+
cex.lab = 1.5, las = 2
452+
)
453+
text(
454+
x = bp, y = par("usr")[3] - 0.02 * diff(par("usr")[3:4]),
455+
labels = names(pct.na), srt = 45, adj = 1, xpd = TRUE, cex = 1
456+
)
457+
title("missingness per sample")
458+
grid()
454459
rm(X3)
455-
}
456-
else {
460+
} else {
457461
plot.new()
458462
text(0.5, 0.5, "no missing values")
459463
}
@@ -833,8 +837,10 @@ upload_module_normalization_server <- function(
833837
## "multi-omics combat" = "combat"
834838
)
835839
} else {
836-
c("CPM", "CPM+quantile", "TMM", "quantile",
837-
"maxMedian", "maxSum", "reference")
840+
c(
841+
"CPM", "CPM+quantile", "TMM", "quantile",
842+
"maxMedian", "maxSum", "reference"
843+
)
838844
},
839845
selected = 1
840846
),

components/ui/ui-utils.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,4 +521,4 @@ clean_custom_features <- function(features) {
521521
# Rejoin with commas
522522
features <- paste(feature_list, collapse = ", ")
523523
return(features)
524-
}
524+
}

0 commit comments

Comments
 (0)