소스 검색

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,
-)
+)