Commits

Johannes Köster committed 43db4c0

Initial implementation of done flag.

Comments (0)

Files changed (1)

                     "The wildcards in dynamic files cannot be constrained.")
     return annotated
 
+# TODO handle flag, hide it in prints?
+def done(prefix, *wildcards):
+    return flag(".snakemake/done/{}.{}.done".format(prefix, ".".join(wildcards)), "done")
+
 
 def expand(*args, **wildcards):
     """