aboutsummaryrefslogtreecommitdiff
path: root/gn3/case_attributes.py
diff options
context:
space:
mode:
Diffstat (limited to 'gn3/case_attributes.py')
-rw-r--r--gn3/case_attributes.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gn3/case_attributes.py b/gn3/case_attributes.py
index 1160678..67bb407 100644
--- a/gn3/case_attributes.py
+++ b/gn3/case_attributes.py
@@ -47,7 +47,7 @@ def __by_strain__(accumulator, item):
}
}
-def __case_attributes_by_inbred_set__(
+def __case_attribute_values_by_inbred_set__(
conn: Connection, inbredset_id: int) -> tuple[dict, ...]:
"""
Retrieve Case-Attributes by their InbredSet ID. Do not call this outside
@@ -73,7 +73,7 @@ def __case_attributes_by_inbred_set__(
def inbredset_case_attribute_values(inbredset_id: int) -> Response:
"""Retrieve the group's (InbredSet's) case-attribute values."""
with database_connection(current_app.config["SQL_URI"]) as conn:
- return jsonify(__case_attributes_by_inbred_set__(conn, inbredset_id))
+ return jsonify(__case_attribute_values_by_inbred_set__(conn, inbredset_id))
def __process_edit_data__(form_data) -> tuple[dict, ...]:
"""Process data from form and return tuple of dicts."""