Commit df258571 authored by hmueller's avatar hmueller
Browse files

Use string type organism_mode instead of boolean plantmode parameter.

parent e2a4af22
......@@ -41,9 +41,9 @@ with open(filename) as f:
split = line.split()
tool = {'name': 'TargetP',
'version': split[2].replace("v", ""),
'plantmode': True}
'organism_group': 'plant'}
elif ' NON-PLANT ' in line:
tool['plantmode'] = False
tool['organism_group'] = 'non-plant'
output_filename = args.output
with open(output_filename, 'w') as o:
......
Supports Markdown
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