diff options
author | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2024-06-02 22:35:36 -0400 |
---|---|---|
committer | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2024-06-02 22:35:36 -0400 |
commit | d32aaa6bce0eacd5d6ee919a239c7aaad606fc23 (patch) | |
tree | 260543a1f63f5aac49cfbc43bd305fe3f31393a2 /qolab/tableflow | |
parent | 593e395eb7d17873ddddd5c57bce35d7d0c30e1d (diff) | |
download | qolab-d32aaa6bce0eacd5d6ee919a239c7aaad606fc23.tar.gz qolab-d32aaa6bce0eacd5d6ee919a239c7aaad606fc23.zip |
fixed bug with table loading and made a test case for it
Diffstat (limited to 'qolab/tableflow')
-rw-r--r-- | qolab/tableflow/__init__.py | 2 |
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) |