Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
If rule did not create logfile, create it in its shadow directory
This addresses gh snakemake#1257. If the rule did not create a logfile, an empty one would be created in its final destination. If the shadow directive was used, however, Snakemake would try to move the nonexistent logfile from the shadow directory to its final location. This caused the observed failures. This commit has Snakemake create the empty file where Snakemake would have expected the program to create it (i.e. in the shadow directory). This enables the unshadow operation that takes place later to succeed.
- Loading branch information