qp.protonate.get_protoss.upload

qp.protonate.get_protoss.upload(path)[source]

Upload a PDB file to the ProteinsPlus web server.

Parameters:

path (str) – Path to the PDB file to upload.

Returns:

ProteinsPlus ID for the uploaded structure.

Return type:

str

Raises:
  • ValueError – If the server returns a 400 Bad Request error.

  • KeyError – If the upload fails after 5 retry attempts.