diff --git a/examples/associations_to_all_features.json b/examples/associations_to_all_features.json index 6eed009..af975bd 100644 --- a/examples/associations_to_all_features.json +++ b/examples/associations_to_all_features.json @@ -5,8 +5,5 @@ "value": "Female" } }, - "maximum_p_value": 1, - "correction": { - "method": "bonferroni" - } + "maximum_p_value": 1 } diff --git a/examples/associations_to_all_features2.json b/examples/associations_to_all_features2.json index 7367679..3fa76d3 100644 --- a/examples/associations_to_all_features2.json +++ b/examples/associations_to_all_features2.json @@ -11,8 +11,5 @@ } ] }, - "maximum_p_value": 1, - "correction": { - "method": "bonferroni" - } + "maximum_p_value": 1 } diff --git a/icees_api/handlers.py b/icees_api/handlers.py index 893caf5..db27acc 100644 --- a/icees_api/handlers.py +++ b/icees_api/handlers.py @@ -368,7 +368,7 @@ def associations_to_all_features( return {"return value": str(ex)} maximum_p_value = obj.get("maximum_p_value", 1) - correction = obj.get("correction") + correction = obj.get("correction", None) return_value = sql.select_associations_to_all_features( conn, table, @@ -430,7 +430,7 @@ def associations_to_all_features2( if to_validate_range: validate_range(conn, table, feature) maximum_p_value = obj["maximum_p_value"] - correction = obj.get("correction") + correction = obj.get("correction", None) return_value = sql.select_associations_to_all_features( conn, table,