fix: tbdstring handling#406
Conversation
WalkthroughImported Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Fix all issues with AI agents
In `@snakemake_executor_plugin_slurm/partitions.py`:
- Line 6: Replace the early "return 0" when encountering an unresolved resource
using tbdstring with assigning job_requirement = 0 so the loop continues;
specifically, in the code that checks numerical resources (the branch where
tbdstring from snakemake.common is detected), set job_requirement = 0 and allow
execution to continue so subsequent constraint and qos checks still run rather
than exiting the function.
…ub.com:snakemake/snakemake-executor-plugin-slurm into fix/tbd_stringhandling_for_partition_selection
During testing, it occurred that unset resource values (which yield a tbd string) will cause a workflow to break, if used in conjunction with the storage-fs plugin.
This PR is
Summary by CodeRabbit