Skip to content
Snippets Groups Projects
Commit c4a627e0 authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

MAINT: remove old code

parent ef3ef389
No related branches found
No related tags found
2 merge requests!39Release 0.4.0,!20created draft for generic analysis method
Checking pipeline status
......@@ -137,17 +137,6 @@ def check_referenced_script(record: db.Record):
def call_script(script_name, record_id):
ret = run_server_side_script(script_name, record_id)
# if script_name not in os.listdir("."):
# logger.warning("No script with the name '{}' is installed.".format(
# script_name))
# return
#cmd = ["./"+script_name, str(record_id)]
#print("Running: "+" ".join(cmd))
#logger.debug("Running: "+" ".join(cmd))
#ret = subprocess.run(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
if ret.code != 0:
logger.warning("Script failed")
logger.debug(ret.stdout)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment