Skip to content

Commit

Permalink
drop maximum number of threads per job
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-fred committed Oct 14, 2023
1 parent ad3d9b0 commit d6f1f8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workflow/rules/preprocess/create_network.smk
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ def threads_for_country(wildcards) -> int:

ranked["threads"] = logistic_min(
ranked.index, # input to transform
workflow.cores, # maximum (roughly)
0.8 * workflow.cores, # maximum (roughly)
-2, # minimum (roughly)
0.02, # steepness of sigmoid
0.8 * len(ranked.index) # location of sigmoid centre on input axis
Expand Down

0 comments on commit d6f1f8d

Please sign in to comment.