Skip to content

Commit

Permalink
Issue #74: Testing test_datasets.py, fix test file path.
Browse files Browse the repository at this point in the history
  • Loading branch information
bongjinkoo committed May 17, 2022
1 parent d834324 commit 6d274c1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ioSPI/datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 6d274c1

Please sign in to comment.