Commit d009d40c authored by bow's avatar bow
Browse files

Set repo directory to Snakefile directory

parent 6940c889
...@@ -8,7 +8,7 @@ from rattle import Run ...@@ -8,7 +8,7 @@ from rattle import Run
BASE_PIPELINE_VERSION = "0.1.0" BASE_PIPELINE_VERSION = "0.1.0"
try: try:
repo = git.Repo(path=os.getcwd(), search_parent_directories=True) repo = git.Repo(path=srcdir(""), search_parent_directories=True)
except git.exc.InvalidGitRepositoryError: except git.exc.InvalidGitRepositoryError:
repo = None repo = None
sha = "unknown" sha = "unknown"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment