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,