Skip to content

Commit

Permalink
remove the leading ./ from paths created in snakebids
Browse files Browse the repository at this point in the history
since this now results in a CRITICAL warning in snakemake
  • Loading branch information
akhanf committed Dec 20, 2024
1 parent 0f07ece commit 066aca6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snakebids/plugins/snakemake.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = Path()
root = "" #uses "" instead of Path() so we end up with filepath instead of ./filepath

configfile_path = self.configfile_path or self.snakemake_dir / "snakebids.yaml"
if self.configfile_outpath is None:
Expand Down

0 comments on commit 066aca6

Please sign in to comment.