williamgilpin / pypdb

A Python API for the RCSB Protein Data Bank (PDB)
MIT License
309 stars 77 forks source link

Trouble with executing sample codes from section "New API for advanced search" #43

Closed marketapavlikova closed 3 years ago

marketapavlikova commented 3 years ago

Dear William,

I'm glad, that I discovered your package PyPDB! It seems to be really useful for me as a Bioinformatician. I tried some of the sample codes and I encountered an error, while trying this sample code bellow. Is it because of the new API or is there a mistake on my side? (The sample codes from the first section "Search functions that return lists of PDB IDs" work fine for me. I am using pypdb 2.0.)

Code:

image

Error:

image

Thank you very much in advance. Best regards,

Marketa Pavlikova

williamgilpin commented 3 years ago

Hello, I don't think that we have PolymerEntity implemented yet, unfortunately. I can try to take a look at this later this month

williamgilpin commented 3 years ago

@marketapavlikova Hello, I can confirm that this is working on my end. Please check to see if you have the latest version. Thanks very much for using the repo; I hope it is helpful for your research