Commit 24b3c3d5 authored by Lukas Jelonek's avatar Lukas Jelonek
Browse files

Fix bug: Typo 'deifinition'

parent fbe92917
......@@ -29,7 +29,7 @@ output scheme::
"dbxrefs": [
"list of dbxrefs"
]
"deifinition": {
"definition": {
"cofactors": [
"list of cofactors"
],
......@@ -53,7 +53,7 @@ output scheme::
[
{
"deifinition": {
"definition": {
"cofactors": [
"list of cofactors"
],
......@@ -337,7 +337,7 @@ example output::
"UniProtKB/Swiss-Prot:P33010",
"UniProtKB/Swiss-Prot:O07737"
]
"deifinition": {
"definition": {
"cofactors": [
"Zn(2+) or Fe cation."
],
......
......@@ -122,9 +122,9 @@ def read_basic(d):
if 'comments' in d:
definition['comments'] = d['comments']
if len(definition) == 1:
out['deifinition'] = definition[0]
out['definition'] = definition[0]
elif len(definition) > 1:
out['deifinition'] = definition
out['definition'] = definition
return (out)
def format_output(d, args):
......
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