Skip to content

Commit 4e9e45f

Browse files
authored
fix: resource typo (#23)
1 parent 30ff4ea commit 4e9e45f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

workflow/rules/map.smk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,6 @@ rule shard_sort_query:
304304
threads: 8
305305
resources:
306306
mem=lambda w, threads, attempt: f"{10* threads* attempt} GiB",
307-
runtime=lambda w, input, attempt: f"{max(0.02* input.size_gb+1,20)* attempt} h",
307+
runtime=lambda w, input, attempt: f"{(0.02* input.size_gb+1)* attempt} h",
308308
wrapper:
309309
f"{wrapper_ver}/bio/samtools/sort"

0 commit comments

Comments
 (0)