aboutsummaryrefslogtreecommitdiff
path: root/qolab
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2024-06-02 22:35:36 -0400
committerEugeniy E. Mikhailov <evgmik@gmail.com>2024-06-02 22:35:36 -0400
commitd32aaa6bce0eacd5d6ee919a239c7aaad606fc23 (patch)
tree260543a1f63f5aac49cfbc43bd305fe3f31393a2 /qolab
parent593e395eb7d17873ddddd5c57bce35d7d0c30e1d (diff)
downloadqolab-d32aaa6bce0eacd5d6ee919a239c7aaad606fc23.tar.gz
qolab-d32aaa6bce0eacd5d6ee919a239c7aaad606fc23.zip
fixed bug with table loading and made a test case for it
Diffstat (limited to 'qolab')
-rw-r--r--qolab/tableflow/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/qolab/tableflow/__init__.py b/qolab/tableflow/__init__.py
index ea380c3..2a150a8 100644
--- a/qolab/tableflow/__init__.py
+++ b/qolab/tableflow/__init__.py
@@ -26,7 +26,7 @@ def loadInOutTables(inputFileName=None, outputFileName=None, comment=None):
tIn.columns = tIn.columns.str.removeprefix(' '); # clean up leading white space in columns names
try:
- tOut=pd.read_csv(results_file)
+ tOut=pd.read_csv(outputFileName, comment=comment)
except Exception:
tOut=tIn.copy(deep=True)