Skip to content

Commit de2b1da

Browse files
vsochcademirch
andauthored
fix: make get_snakefile return rel path to snakefile (#40) (#41)
Should fix #39. Previously #40 Co-authored-by: Cade Mirchandani <cmirchan@ucsc.edu>
1 parent cacc9fe commit de2b1da

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

snakemake_executor_plugin_googlebatch/executor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ def get_snakefile(self):
398398
Use a Snakefile in the present working directory since we write it.
399399
"""
400400
assert os.path.exists(self.workflow.main_snakefile)
401-
return "Snakefile"
401+
return os.path.relpath(self.workflow.main_snakefile, os.getcwd())
402402

403403
async def check_active_jobs(
404404
self, active_jobs: List[SubmittedJobInfo]

0 commit comments

Comments
 (0)