From de51dce14f6f1355a80e71e0f2488d88be9847b9 Mon Sep 17 00:00:00 2001 From: Ali Khan Date: Thu, 19 Dec 2024 23:33:02 -0500 Subject: [PATCH] shorten line for linting --- 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..748d4cf5 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() to drop the leading ./ configfile_path = self.configfile_path or self.snakemake_dir / "snakebids.yaml" if self.configfile_outpath is None: