diff options
author | Muriithi Frederick Muriuki | 2021-08-17 11:42:20 +0300 |
---|---|---|
committer | Arun Isaac | 2021-08-18 08:47:34 +0000 |
commit | d54e2c4b48b24ebbccc8b2ae183fffd645e21344 (patch) | |
tree | d4fc8c4ed37985172dcc5e5faba35d4ef42ad046 /gn3/api | |
parent | d10ee60d2200eefb29a22b0a84cd19569235b354 (diff) | |
download | genenetwork3-d54e2c4b48b24ebbccc8b2ae183fffd645e21344.tar.gz |
Fix obvious linting errors
* Fix linting errors that do not change the function of the code.
Diffstat (limited to 'gn3/api')
-rw-r--r-- | gn3/api/correlation.py | 4 | ||||
-rw-r--r-- | gn3/api/general.py | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/gn3/api/correlation.py b/gn3/api/correlation.py index a3e366e..46121f8 100644 --- a/gn3/api/correlation.py +++ b/gn3/api/correlation.py @@ -79,7 +79,7 @@ def compute_tissue_corr(corr_method="pearson"): target_tissues_dict = tissue_input_data["target_tissues_dict"] results = compute_tissue_correlation(primary_tissue_dict=primary_tissue_dict, - target_tissues_data=target_tissues_dict, - corr_method=corr_method) + target_tissues_data=target_tissues_dict, + corr_method=corr_method) return jsonify(results) diff --git a/gn3/api/general.py b/gn3/api/general.py index 86fb7b7..69ec343 100644 --- a/gn3/api/general.py +++ b/gn3/api/general.py @@ -13,7 +13,8 @@ general = Blueprint("general", __name__) @general.route("/version") def version(): - return jsonify("1.0") + """Get API version.""" + return jsonify("1.0") @general.route("/metadata/upload/", methods=["POST"], strict_slashes=False) |