Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SOaAS
dbxref
Commits
24b3c3d5
Commit
24b3c3d5
authored
Jan 17, 2018
by
Lukas Jelonek
Browse files
Fix bug: Typo 'deifinition'
parent
fbe92917
Changes
2
Hide whitespace changes
Inline
Side-by-side
docs/enzymes.rst
View file @
24b3c3d5
...
...
@@ -29,7 +29,7 @@ output scheme::
"dbxrefs": [
"list of dbxrefs"
]
"de
i
finition": {
"definition": {
"cofactors": [
"list of cofactors"
],
...
...
@@ -53,7 +53,7 @@ output scheme::
[
{
"de
i
finition": {
"definition": {
"cofactors": [
"list of cofactors"
],
...
...
@@ -337,7 +337,7 @@ example output::
"UniProtKB/Swiss-Prot:P33010",
"UniProtKB/Swiss-Prot:O07737"
]
"de
i
finition": {
"definition": {
"cofactors": [
"Zn(2+) or Fe cation."
],
...
...
scripts/retrieve_enzyme.py
View file @
24b3c3d5
...
...
@@ -122,9 +122,9 @@ def read_basic(d):
if
'comments'
in
d
:
definition
[
'comments'
]
=
d
[
'comments'
]
if
len
(
definition
)
==
1
:
out
[
'de
i
finition'
]
=
definition
[
0
]
out
[
'definition'
]
=
definition
[
0
]
elif
len
(
definition
)
>
1
:
out
[
'de
i
finition'
]
=
definition
out
[
'definition'
]
=
definition
return
(
out
)
def
format_output
(
d
,
args
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment