aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wqflask/wqflask/gsearch.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/wqflask/wqflask/gsearch.py b/wqflask/wqflask/gsearch.py
index ee1291be..34368e88 100644
--- a/wqflask/wqflask/gsearch.py
+++ b/wqflask/wqflask/gsearch.py
@@ -88,8 +88,8 @@ class GSearch:
trait["display_name"] = trait["name"]
inbredsetcode = trait.pop("inbredsetcode")
if inbredsetcode.map(len) == Just(3):
- trait["display_name"] = (Maybe.apply(lambda inbredsetcode, name:
- f"{inbredsetcode}_{name}")
+ trait["display_name"] = (Maybe.apply(
+ curry(2, lambda inbredsetcode, name: f"{inbredsetcode}_{name}"))
.to_arguments(inbredsetcode, trait["name"]))
trait["hmac"] = (Maybe.apply(hmac)
.to_arguments(trait.pop("dataset_fullname"), trait["name"]))