Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions examples/associations_to_all_features.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,5 @@
"value": "Female"
}
},
"maximum_p_value": 1,
"correction": {
"method": "bonferroni"
}
"maximum_p_value": 1
}
5 changes: 1 addition & 4 deletions examples/associations_to_all_features2.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,5 @@
}
]
},
"maximum_p_value": 1,
"correction": {
"method": "bonferroni"
}
"maximum_p_value": 1
}
4 changes: 2 additions & 2 deletions icees_api/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down