Skip to content
Snippets Groups Projects
Commit ba066e1f authored by Arthur Le Bars's avatar Arthur Le Bars
Browse files

Dataset import to history, import workflow as a dict

parent 43540a85
No related branches found
No related tags found
1 merge request!1Release 1.0
...@@ -194,6 +194,7 @@ def main(): ...@@ -194,6 +194,7 @@ def main():
# print(v2) # print(v2)
for e in v2: for e in v2:
if type(e) == dict: if type(e) == dict:
# TODO: manage several files of the same type
if e["name"].endswith("transcripts-gff.fa"): if e["name"].endswith("transcripts-gff.fa"):
datasets["transcripts_file"] = e["ldda_id"] datasets["transcripts_file"] = e["ldda_id"]
print("\t\t" + e["name"] + ": " + e["ldda_id"]) print("\t\t" + e["name"] + ": " + e["ldda_id"])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment