This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse the repository at this point in the history
fix: issue #1257 (missing logfile failure when using shadow directory) (
#1258) * Test for issue #1257 fails for missing logfile with shadow directory * If rule did not create logfile, create it in its shadow directory This addresses gh #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. * move remote handling of log files into the general remote output handling; fix existence check Co-authored-by: Johannes Köster <firstname.lastname@example.org> Co-authored-by: Johannes Köster <email@example.com>
- Loading branch information
Showing 5 changed files with 12 additions and 8 deletions.