From d5bc1960a7846716a1dff3b025093639fd429cfc Mon Sep 17 00:00:00 2001 From: Munyoki Kilyungi Date: Mon, 28 Nov 2022 14:48:28 +0300 Subject: Fix pylint errors * gn3/api/general.py: Delete rdf import. Delete trailing white spaces. * gn3/api/metadata.py: Delete trailing white spaces. --- gn3/api/general.py | 4 +--- gn3/api/metadata.py | 1 - 2 files changed, 1 insertion(+), 4 deletions(-) (limited to 'gn3') 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({}) - -- cgit v1.2.3