From d83432446ebe81373ac88da5c2812b61d2402ad8 Mon Sep 17 00:00:00 2001 From: Bongjin Koo Date: Tue, 17 May 2022 11:07:50 -0700 Subject: [PATCH] Issue #74: Testing test_datasets.py, prefixing CONDA path. --- ioSPI/datasets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ioSPI/datasets.py b/ioSPI/datasets.py index 729db59..b17a098 100644 --- a/ioSPI/datasets.py +++ b/ioSPI/datasets.py @@ -121,7 +121,7 @@ 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( - f"osf upload {local_path} {full_remote_path}", + "$CONDA/bin/" + f"osf upload {local_path} {full_remote_path}", shell=True, text=True, check=True,