aboutsummaryrefslogtreecommitdiff
path: root/gn3/db
diff options
context:
space:
mode:
authorMunyoki Kilyungi2023-09-05 14:41:41 +0300
committerBonfaceKilz2023-09-05 14:57:51 +0300
commit8bb89dd929506af37675ed5e65737ac79ca0678e (patch)
tree36c7bcdaefc62b33e1710d02d50df8f901c7c120 /gn3/db
parentbf8296c5c3093aef32a5cd91fb008ad257e7a2f1 (diff)
downloadgenenetwork3-8bb89dd929506af37675ed5e65737ac79ca0678e.tar.gz
Fix C3001: Lambda expression assigned to a variable
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'gn3/db')
-rw-r--r--gn3/db/partial_correlations.py3
1 files changed, 1 insertions, 2 deletions
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"]
}