diff options
author | Frederick Muriuki Muriithi | 2023-01-24 11:33:01 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2023-01-24 11:33:01 +0300 |
commit | 5be55b1b33f5584942ded560e914b97557f68419 (patch) | |
tree | 45a2f1e811f0aaec5ea2b6e7c036d8521cd2e181 | |
parent | 79bc3d28df18c0d36de1337becfdb28284989431 (diff) | |
download | genenetwork2-5be55b1b33f5584942ded560e914b97557f68419.tar.gz |
mechanical-rob: eliminate extraneous spaces before comparisons
-rw-r--r-- | test/requests/correlation_tests.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/requests/correlation_tests.py b/test/requests/correlation_tests.py index 53e09243..aa8c7fbe 100644 --- a/test/requests/correlation_tests.py +++ b/test/requests/correlation_tests.py @@ -164,7 +164,8 @@ def collect_failures(actual, expected, keys): return (f"Could not find trait '{trait_id}' in actual results",) __eq = tuple() for act_key, exp_key, title in keys: - act_val, exp_val = (str(act_row[act_key]), str(exp_row[exp_key])) + act_val, exp_val = ( + str(act_row[act_key]).strip(), str(exp_row[exp_key]).strip()) if act_val == exp_val: # __eq = __eq + ("PASSED",) continue |