Closed cmeesters closed 4 months ago
@johanneskoester I think this is a rather trivial change - however, I do not know how to extend the test suite for it. Pointers? Or can it be merged like that?
@johanneskoester I consider this an urgent PR - there are always people you try something like this.
waited long enough
Already, two issues (#75 and #22) seem to result from running Snakemake in a SLURM job context and using this executor plugin. This PR introduces detecting if triggered within a SLURM job and issuing a warning accordingly.
In principle, the plugin may work in job context. Submitting jobs from jobs has always been a highlight of SLURM. However, settings may lead to unintended behaviour (and would do so without Snakemake, presumably). Hence, we can only warn from the executor.