浏览代码

Fix up weird break in source

Zebedee Nicholls 1 年之前
父节点
当前提交
5712a6c2eb
共有 1 个文件被更改,包括 5 次插入1 次删除
  1. 5 1
      src/download_version_datalad.py

+ 5 - 1
src/download_version_datalad.py

@@ -24,6 +24,10 @@ if output_folder.exists():
 else:
     output_files = []
 
+# No idea what has broken to make this necessary
+root_path = str(root_path)
+output_files = [str(v) for v in output_files]
+
 datalad.api.run(
     cmd=f"./venv/bin/python3 src/download_version.py --version {version}",
     dataset=root_path,
@@ -32,4 +36,4 @@ datalad.api.run(
     outputs=output_files,
     dry_run=None,
     explicit=False,
-)
+)