Skip to content

Commit d2dea2a

Browse files
committed
remove unneeded type check on main_file
1 parent f2bba84 commit d2dea2a

4 files changed

Lines changed: 6 additions & 8 deletions

File tree

helper-functions/Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@ FROM ubuntu:20.04
22

33
LABEL org.opencontainers.image.source https://github.com/icgc-argo/data-processing-utility-tools
44

5-
RUN groupadd -g 1000 ubuntu &&\
6-
useradd -l -u 1000 -g ubuntu ubuntu &&\
5+
RUN groupadd -g 1000 ubuntu && \
6+
useradd -l -u 1000 -g ubuntu ubuntu && \
77
install -d -m 0755 -o ubuntu -g ubuntu /home/ubuntu
88

9+
USER ubuntu
10+
911
CMD ["/bin/bash"]

helper-functions/main.nf

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,6 @@ version = '1.0.1'
3030

3131
// this is kind of like CWL's secondary files
3232
def getSecondaryFiles(main_file, exts){
33-
if (!(main_file instanceof String)) {
34-
exit 1, "[getSecondaryFiles] param: main_file must be a string"
35-
}
36-
3733
if (!(exts instanceof List)) {
3834
exit 1, "[getSecondaryFiles] param: exts must be a list of strings"
3935
}

helper-functions/tests/files-exist.nf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
/* this block is auto-generated based on info from pkg.json where */
2727
/* changes can be made if needed, do NOT modify this block manually */
2828
nextflow.enable.dsl = 2
29-
version = '1.0.0' // package version
29+
version = '1.0.1' // package version
3030

3131
container = [
3232
'ghcr.io': 'ghcr.io/icgc-argo/data-processing-utility-tools.helper-functions'

helper-functions/tests/generate-dummy-file.nf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
/* this block is auto-generated based on info from pkg.json where */
2727
/* changes can be made if needed, do NOT modify this block manually */
2828
nextflow.enable.dsl = 2
29-
version = '1.0.0' // package version
29+
version = '1.0.1' // package version
3030

3131
container = [
3232
'ghcr.io': 'ghcr.io/icgc-argo/data-processing-utility-tools.helper-functions'

0 commit comments

Comments
 (0)