From 45da25f7ef683b8a047d35f93d0f4b6712072dae Mon Sep 17 00:00:00 2001 From: Yang Wang Date: Tue, 18 Feb 2025 15:43:15 -0600 Subject: [PATCH] formatted by isort and black --- src/utils/parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/parser.py b/src/utils/parser.py index 8804c8e1c..459d340a4 100644 --- a/src/utils/parser.py +++ b/src/utils/parser.py @@ -811,7 +811,7 @@ def eval_metric(dfs, dfs_type, sys_info, raw_pmc_df, debug): # print("eval_metric", id, expr) try: out = eval(compile(row[expr], "", "eval")) - + if np.isnan(out): row[expr] = "" else: