Skip to content

Commit

Permalink
Merge pull request #220 from cokelaer/june_2022_cleanup
Browse files Browse the repository at this point in the history
New uniprot API integraton
  • Loading branch information
cokelaer authored Jul 1, 2022
2 parents ec0023f + 8236c2a commit 84d2eb2
Show file tree
Hide file tree
Showing 5 changed files with 539 additions and 528 deletions.
1 change: 1 addition & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ Changelog
========= ====================================================================
Version Description
========= ====================================================================
1.10.0 * Update uniprot to use the new API (june 2022)
1.9.0 * Update unichem to reflect new API
1.8.4 * biomodels. Fix #208
* KEGG: fixed #204 #202 and #203
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@


_MAJOR = 1
_MINOR = 9
_MINOR = 10
_MICRO = 0
version = '%d.%d.%d' % (_MAJOR, _MINOR, _MICRO)
release = '%d.%d' % (_MAJOR, _MINOR)
Expand Down
29 changes: 15 additions & 14 deletions src/bioservices/kegg.py
Original file line number Diff line number Diff line change
Expand Up @@ -1354,29 +1354,30 @@ def _parse(self, res):
output[key] = data
# strip only: expecting a single line (string)
elif key in [
"POSITION",
"ANNOTATION",
"CATEGORY",
"CLASS",
"COMPOSITION",
"CREATED",
"DATA_SOURCE",
"DEFINITION",
"DESCRIPTION",
"ENTRY",
"ORGANISM",
"CLASS",
"SYMBOL",
"EFFICACY",
"EQUATION",
"FORMULA",
"KEYWORDS",
"CATEGORY",
"ANNOTATION",
"DATA_SOURCE",
"HISTORY",
"MASS",
"COMPOSITION",
"STRUCTURE",
"ORGANISM",
"ORG_CODE",
"CREATED",
"DEFINITION",
"POSITION",
"RCLASS",
"KO_PATHWAY",
"EQUATION",
"SYMBOL",
"STRUCTURE",
"TYPE",
"RCLASS",
"SYSNAME",
"HISTORY",
"REL_PATHWAY",
]:
# get rid of \n
Expand Down
Loading

0 comments on commit 84d2eb2

Please sign in to comment.