From 032d82858cf81a07c287734957095ccdf16270f4 Mon Sep 17 00:00:00 2001 From: Ali Khan Date: Wed, 11 Dec 2024 22:50:47 -0500 Subject: [PATCH] linting fix --- snakebids/plugins/snakemake.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snakebids/plugins/snakemake.py b/snakebids/plugins/snakemake.py index 1b7349bf..97a08c0d 100644 --- a/snakebids/plugins/snakemake.py +++ b/snakebids/plugins/snakemake.py @@ -289,7 +289,7 @@ def finalize_config(self, config: dict[str, Any]): print(err.msg, file=sys.stderr) sys.exit(1) self.cwd = config["output_dir"] - root = "" #uses "" instead of Path() so we end up with filepath instead of ./filepath + root = "" # uses "" instead of Path() so we drop the leading ./ configfile_path = self.configfile_path or self.snakemake_dir / "snakebids.yaml" if self.configfile_outpath is None: