[Biopython] [Entrez.efetch] save records

c.buhtz at posteo.jp c.buhtz at posteo.jp
Thu Dec 3 23:38:07 UTC 2015


I load a big bunch (10.000's) of records as XML with eFetch from PubMed.

I was able to pickle that list of records to a file with Python3.

But when I try to unpickle it I get this error:
  File "../pidAsk.py", line 82, in _getRecords
    record = pickle.load(f)
  File "/usr/local/lib/python3.4/dist-packages/Bio/Entrez/Parser.py",
line 117, in __setitem__ if key in self.listkeys:
AttributeError: 'StructureElement' object has no attribute 'listkeys'

Does someone tried to (un)pickle data like eFetch-PubMed-records with
Python3?
-- 
GnuPGP-Key ID 0751A8EC


More information about the Biopython mailing list