diff --git a/ioSPI/datasets.py b/ioSPI/datasets.py index c8e1729..64b7b46 100644 --- a/ioSPI/datasets.py +++ b/ioSPI/datasets.py @@ -1,5 +1,5 @@ """Module to house methods related to datasets (micrographs, meta-data, etc.).""" - +import io import os import subprocess @@ -123,7 +123,7 @@ def upload(self, local_path: str, remote_path: str): text=True, capture_output=True, ).stdout - print(f) + print(io.StringIO(f)) print("Done!") def remove(self, remote_path: str):