From 8ab68de2f3927fd6d7ca5b19bcdeaf18f99016d5 Mon Sep 17 00:00:00 2001
From: Christopher Schmied <schmied@mpi-cbg.de>
Date: Sun, 5 Jul 2015 18:39:34 +0200
Subject: [PATCH] Fixed bug in hdf5_xml_output

hdf5_xml_output rule does again touch the output
Tested and works
---
 spim_registration/timelapse/Snakefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/spim_registration/timelapse/Snakefile b/spim_registration/timelapse/Snakefile
index c6dab52..6c6b744 100755
--- a/spim_registration/timelapse/Snakefile
+++ b/spim_registration/timelapse/Snakefile
@@ -468,7 +468,7 @@ rule hdf5_xml_output:
            jdir=JOBDIR,
            path_bsh=config["common"]["bsh_directory"] + config["hdf5_output"]["bsh_file_hdf5"])
 
-        part_string += " > {log} 2>&1"
+        part_string += " > {log} 2>&1 && touch {output}"
         shell(part_string)
 
 rule resave_hdf5_output:
-- 
GitLab