cokelaer / bioservices

Access to Biological Web Services from Python.

Home Page:http://bioservices.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Parsing KEGG get() entries prints the entire dict

smdabdoub opened this issue · comments

I found two instances of print statements in the _parse function that print the entire parsed record whenever parsing is done. Lines 1399 and 1438

from bioservices import KEGG, KEGGParser
s = KEGG()
kp = KEGGParser()
rec = s.get("hsa:7535", parse=True)
rec = kp.parse(s.get("hsa:7535"))

On both of those last two lines, the entire parsed dictionary is printed, key and value.

@smdabdoub indeed, this was a regression in version 1.8.3, which is now fixed in 1.8.4