You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Snakemake crashes with this error message while/right after building the DAG. As far as I understand, max(2*input.size_mb, 1000) is the default value for "mem_mb" and "disk_mb"?
This happens when I run snakemake with a target that makes it use a certain rule I added, but the rule is different to that in line 1710. None of the rules touch "disk_mb", (and I also do not set it as a default resource), but many rules update "mem_mb", but to an integer value and not the default resources.
Unfortunately, the error message does not contain a hint to which resources value creates the problem.
After setting disk_mb as a default resource to an integer value, the problem disappears.
Logs
InputFunctionException in line 1710 of /proj/sebschmi/git/practical-omnitigs/Snakefile:
Error:
WorkflowError:
Failed to evaluate DefaultResources value 'max(2*input.size_mb, 1000)'.
String arguments may need additional quoting. Ex: --default-resources "tmpdir='/home/user/tmp'".
The text was updated successfully, but these errors were encountered:
Snakemake version 6.15.5
Describe the bug
Snakemake crashes with this error message while/right after building the DAG. As far as I understand,
max(2*input.size_mb, 1000)
is the default value for "mem_mb" and "disk_mb"?This happens when I run snakemake with a target that makes it use a certain rule I added, but the rule is different to that in line 1710. None of the rules touch "disk_mb", (and I also do not set it as a default resource), but many rules update "mem_mb", but to an integer value and not the default resources.
Unfortunately, the error message does not contain a hint to which resources value creates the problem.
After setting disk_mb as a default resource to an integer value, the problem disappears.
Logs
The text was updated successfully, but these errors were encountered: