Is your feature request related to a problem? Please describe.
When many long-running jobs need to be run, some jobs can be of more interest than others. For example, in genome-scale analyses for multiple species, there can be one or two really interesting species, which you'd like to see first.
Describe the solution you'd like
The priority field for a rule should accept a lambda function as input.
Describe alternatives you've considered
Splitting the many long-running jobs into several batches, and first running one batch that contains all the jobs of interest that you'd like to see first. This is okay but not ideal, since batching results in some under-utilized resources at the end of each batch's execution.
Additional context
Currently, providing a lambda function to the priority field results in a RuleException with message "Priority values have to be numeric."
Is your feature request related to a problem? Please describe. When many long-running jobs need to be run, some jobs can be of more interest than others. For example, in genome-scale analyses for multiple species, there can be one or two really interesting species, which you'd like to see first.
Describe the solution you'd like The priority field for a rule should accept a lambda function as input.
Describe alternatives you've considered Splitting the many long-running jobs into several batches, and first running one batch that contains all the jobs of interest that you'd like to see first. This is okay but not ideal, since batching results in some under-utilized resources at the end of each batch's execution.
Additional context Currently, providing a lambda function to the priority field results in a RuleException with message "Priority values have to be numeric."