From 6d274c1de0eab6fb6b8e00e8a9782ec50936d9ae Mon Sep 17 00:00:00 2001 From: Bongjin Koo Date: Tue, 17 May 2022 11:18:20 -0700 Subject: [PATCH] Issue #74: Testing test_datasets.py, fix test file path. --- ioSPI/datasets.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ioSPI/datasets.py b/ioSPI/datasets.py index b17a098..66b6e87 100644 --- a/ioSPI/datasets.py +++ b/ioSPI/datasets.py @@ -121,7 +121,8 @@ def upload(self, local_path: str, remote_path: str): print(f"Uploading {local_path} to {full_remote_path}...") # os.system(f"osf upload {local_path} {full_remote_path}") f = subprocess.run( - "$CONDA/bin/" + f"osf upload {local_path} {full_remote_path}", + "$CONDA/bin/" + + f"osf upload /home/runner/work/ioSPI/{local_path} {full_remote_path}", shell=True, text=True, check=True,