Skip to content

Commit

Permalink
scenic+ memory updated
Browse files Browse the repository at this point in the history
  • Loading branch information
janursa committed Oct 9, 2024
1 parent f2a6066 commit 5b0ec09
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion _viash.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ config_mods: |
.platforms[.type == 'docker'].target_image_source := 'https://github.com/openproblems-bio/task_grn_inference'
.platforms[.type == "nextflow"].directives.tag := "$id"
.platforms[.type == "nextflow"].auto.simplifyOutput := false
.platforms[.type == "nextflow"].config.labels := { lowmem : "memory = 20.Gb", midmem : "memory = 50.Gb", highmem : "memory = 100.Gb", lowcpu : "cpus = 5", midcpu : "cpus = 15", highcpu : "cpus = 30", lowtime : "time = 1.h", midtime : "time = 4.h", hightime : "time = 8.h", onedaytime : "time = 24.h", threedaystime : "time = 72.h", oneweektime : "time = 168.h" }
.platforms[.type == "nextflow"].config.labels := { lowmem : "memory = 20.Gb", midmem : "memory = 50.Gb", highmem : "memory = 100.Gb", 250GBmem : "memory = 250.Gb", lowcpu : "cpus = 5", midcpu : "cpus = 15", highcpu : "cpus = 30", lowtime : "time = 1.h", midtime : "time = 4.h", hightime : "time = 8.h", onedaytime : "time = 24.h", threedaystime : "time = 72.h", oneweektime : "time = 168.h" }
.platforms[.type == "nextflow"].config.script := "process.errorStrategy = 'ignore'"
2 changes: 1 addition & 1 deletion src/methods/multi_omics/scenicplus/config.vsh.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ platforms:
- type: native
- type: nextflow
directives:
label: [midtime,midmem,midcpu]
label: [onedaytime,250GBmem,highcpu]
3 changes: 2 additions & 1 deletion src/methods/multi_omics/scenicplus/script.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,9 @@
if args.num_workers:
par['num_workers'] = args.num_workers

meta = {}

if args.resources_dir:
meta = {}
meta['resources_dir'] = args.resources_dir
par['num_workers'] = int(par['num_workers'])
print(par)
Expand Down
2 changes: 1 addition & 1 deletion src/methods/multi_omics/scenicplus_ns/config.vsh.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ functionality:
platforms:
- type: nextflow
directives:
label: [ onedaytime, highmem, highcpu ]
label: [ onedaytime, 250GBmem, highcpu ]

0 comments on commit 5b0ec09

Please sign in to comment.