aboutsummaryrefslogtreecommitdiff
path: root/gn3/api/general.py
diff options
context:
space:
mode:
authorMunyoki Kilyungi2022-11-28 14:48:28 +0300
committerBonfaceKilz2022-11-28 15:22:11 +0300
commitd5bc1960a7846716a1dff3b025093639fd429cfc (patch)
tree1ae7c5c565f5f0f45900f0d3faf59e011274fd2e /gn3/api/general.py
parent2c04a4ad00dbb228360da5575c19571a151c11a1 (diff)
downloadgenenetwork3-d5bc1960a7846716a1dff3b025093639fd429cfc.tar.gz
Fix pylint errors
* gn3/api/general.py: Delete rdf import. Delete trailing white spaces. * gn3/api/metadata.py: Delete trailing white spaces.
Diffstat (limited to 'gn3/api/general.py')
-rw-r--r--gn3/api/general.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/gn3/api/general.py b/gn3/api/general.py
index f904ffe..69ec343 100644
--- a/gn3/api/general.py
+++ b/gn3/api/general.py
@@ -7,7 +7,7 @@ from flask import request
from gn3.fs_helpers import extract_uploaded_file
from gn3.commands import run_cmd
-from gn3.db import rdf
+
general = Blueprint("general", __name__)
@@ -68,5 +68,3 @@ def run_r_qtl(geno_filestr, pheno_filestr):
cmd = (f"Rscript {rqtl_wrapper} "
f"{geno_filestr} {pheno_filestr}")
return jsonify(run_cmd(cmd)), 201
-
-