aboutsummaryrefslogtreecommitdiff
path: root/gn3/api
diff options
context:
space:
mode:
Diffstat (limited to 'gn3/api')
-rw-r--r--gn3/api/general.py4
-rw-r--r--gn3/api/metadata.py1
2 files changed, 1 insertions, 4 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
-
-
diff --git a/gn3/api/metadata.py b/gn3/api/metadata.py
index 680d51b..156af97 100644
--- a/gn3/api/metadata.py
+++ b/gn3/api/metadata.py
@@ -25,4 +25,3 @@ def jsonify_dataset_metadata(accession_id):
# The virtuoso server is misconfigured or it isn't running at all
except RemoteDisconnected:
return jsonify({})
-