diff options
author | BonfaceKilz | 2022-03-18 15:41:12 +0300 |
---|---|---|
committer | BonfaceKilz | 2022-03-18 15:50:00 +0300 |
commit | b77d028381819cb947342db4ff80590563822b4e (patch) | |
tree | 0ed3965797d7a8da0962c029bf76750383d8ff05 /gn3/computations/diff.py | |
parent | 490a9c2306d9b05e132b1fcef6cd65a985a14b71 (diff) | |
download | genenetwork3-b77d028381819cb947342db4ff80590563822b4e.tar.gz |
Clean all csv fields before diffing
There was a subtle bug where "csvdiff" generated an error related to
"different column headings" caused something akin to diffing: "a, b \n, ..."
with "a, b\n, ...".
* gn3/csvcmp.py (csv_diff): Clean csv texts before any diffing.
* tests/unit/test_csvcmp.py (test_csv_diff_same_columns): Modify test case to
capture aforementioned bug.
Diffstat (limited to 'gn3/computations/diff.py')
0 files changed, 0 insertions, 0 deletions