From 2448b39a9fc3ab910fa4005196688b3f75be41ce Mon Sep 17 00:00:00 2001 From: lltommy Date: Thu, 11 Jun 2020 18:43:54 +0200 Subject: Fixing #65 and adding additional country information --- bh20simplewebuploader/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bh20simplewebuploader') diff --git a/bh20simplewebuploader/main.py b/bh20simplewebuploader/main.py index 81fe571..0cc22df 100644 --- a/bh20simplewebuploader/main.py +++ b/bh20simplewebuploader/main.py @@ -493,12 +493,12 @@ def getAllaccessions(): # parameter must be encoded e.g. http://arvados.org/keep:6e6276698ed8b0e6cd21f523e4f91179+123/sequence.fasta must become -# http%3A%2F%2Farvados.org%2Fkeep%3A6e6276698ed8b0e6cd21f523e4f91179%2B123%2Fsequence.fasta +# http%3A%2F%2Fcollections.lugli.arvadosapi.com%2Fc%3D00a6af865453564f6a59b3d2c81cc7c1%2B123%2Fsequence.fasta @app.route('/api/getDetailsForSeq', methods=['GET']) def getDetailsForSeq(): seq_id = request.args.get('seq') query="""SELECT DISTINCT ?key ?key_label ?value WHERE { - ?x [?key ?value] . + ?x [?key ?value] . OPTIONAL {?key ?key_tmp_label } . BIND(IF(BOUND(?key_tmp_label),?key_tmp_label, ?key) as ?key_label)}""" query=query.replace("placeholder", seq_id) -- cgit v1.2.3