Commits

Johannes Köster committed a25f16f

Include rulename into jobscript name.

Comments (0)

Files changed (1)

snakemake/executors.py

         return os.path.abspath(self._tmpdir)
 
     def get_jobscript(self, job):
-        return os.path.join(self.tmpdir, "{}.snakemake-job.sh".format(self.dag.jobid(job)))
+        return os.path.join(self.tmpdir, "{}.{}.snakemake-job.sh".format(job.rule.name, self.dag.jobid(job)))
 
 
 def run_wrapper(run, input, output, params, wildcards, threads, resources, log, linemaps):