-
Notifications
You must be signed in to change notification settings - Fork 633
Postpone parsing of resources #2510
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Snakemake version
v7.32.4
Describe the bug
I am trying to set resources based on input file size as:
resources:
runtime = lambda w, attempt, input: input.size_mb * 7 * attempt,
However, I am getting the error:
Cannot parse runtime value into minutes for setting runtime resource
Shouldn't resources evaluation be postponed? It would probably also solve #2423.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working