diff options
Diffstat (limited to 'gn3')
-rw-r--r-- | gn3/api/correlation.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gn3/api/correlation.py b/gn3/api/correlation.py index f2ffe8a..7eb7cd6 100644 --- a/gn3/api/correlation.py +++ b/gn3/api/correlation.py @@ -1,5 +1,4 @@ """Endpoints for running correlations""" -import json import sys from functools import reduce @@ -111,7 +110,7 @@ def partial_correlation(): return reduce(__field_errors__(request_data), fields, errors) - args = json.loads(request.get_json()) + args = request.get_json() request_errors = __errors__( args, ("primary_trait", "control_traits", "target_db", "method")) if request_errors: |