Skip to content

Commit

Permalink
formatted by isort and black
Browse files Browse the repository at this point in the history
  • Loading branch information
ywang103-amd committed Feb 18, 2025
1 parent 82bac8e commit 45da25f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -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], "<string>", "eval"))

if np.isnan(out):
row[expr] = ""
else:
Expand Down

0 comments on commit 45da25f

Please sign in to comment.