From 32b3ae757adb5be2ea29b66dcf2c43f7dc1c1527 Mon Sep 17 00:00:00 2001 From: Bongjin Koo Date: Mon, 16 May 2022 17:05:59 -0700 Subject: [PATCH] Issue #74: Testing test_datasets.py, update logging. --- ioSPI/datasets.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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):