Docker-in-Docker (DinD) capabilities of public runners deactivated. More info

Commit 003f4446 authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Update harvest to restore controller insert_recjson

parent fae5d9e3
......@@ -360,9 +360,15 @@ def insert_recjson(): =
tool.logs = []
tool.shelf = \
("literature" if == "" else None)
recjson = json.loads(selector.recjson)
recjson = (recjson[0] if isinstance(recjson, list) else recjson)
if == "":
recjson = recjson["metadata"]
except ToolException as e:
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