From 8bb89dd929506af37675ed5e65737ac79ca0678e Mon Sep 17 00:00:00 2001 From: Munyoki Kilyungi Date: Tue, 5 Sep 2023 14:41:41 +0300 Subject: Fix C3001: Lambda expression assigned to a variable Signed-off-by: Munyoki Kilyungi --- gn3/db/partial_correlations.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gn3/db') diff --git a/gn3/db/partial_correlations.py b/gn3/db/partial_correlations.py index e8466f6..1368da0 100644 --- a/gn3/db/partial_correlations.py +++ b/gn3/db/partial_correlations.py @@ -422,8 +422,7 @@ def set_bxd(group_info): return { **group_info, "group": ( - "BXD" if group_info.get("Name") == "BXD300" - else group_info.get("Name", "")), + "BXD" if group_info.get("Name") == "BXD300" else group_info.get("Name", "")), "groupid": group_info["Id"] } -- cgit v1.2.3