Commit eac68f6d authored by Ismail Moumni's avatar Ismail Moumni
Browse files

edit

parent e2fc5a18
Pipeline #695 failed with stage
in 13 seconds
......@@ -3,7 +3,7 @@ import socket
import json
import os
import sys
# import database as db
import database.database as db
sys.path.append(os.path.realpath('../softwares/'))
......@@ -71,9 +71,8 @@ def json_to_dict(js):
# Function takes a dictionnary for input
# Function return a Dict containing tool parameters and default parameters
def db_req(tool: dict):
# tool_dict = db.getParameters(tool)
# return tool_dict
pass
tool_dict = db.getParameters(tool)
return tool_dict
def match_query_dict(biblio: dict, data: dict):
......@@ -95,9 +94,8 @@ def match_generator_dict(biblio: dict, Genereator: list):
def verif_param(data: dict):
# Tuple
tool = data.keys().strip('[]')
# s = db.getParameters(data['tool'])
s = db.getParameters(data['tool'])
parameter = {}
query = {}
if s is not None:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment