Trying to download some protein data from PDB using Biopython's Bio.PDB.PDBList
Here is a min. reproducible example:
from Bio.PDB import PDBList
pdbl=PDBList()
pdbl.retrieve_pdb_file('1GAV', file_format="pdb")
This returns:
Downloading PDB structure '1GAV'...
Desired structure doesn't exists
Desired behavior is download of the PDB file to the working directory.
Possibly useful info:
We think the problem has to do with our corporate VPN because it works when the VPN is off (although proxy still on). So as sammam said, no problems in the code.
Don't know the specifics of why this occurs with our VPN, will update if I find out.