qp.protonate.get_protoss.download¶
- qp.protonate.get_protoss.download(job, out, key='protein')[source]¶
Download a Protoss output file.
Polls the Protoss job URL until completion, then downloads the requested output file.
- Parameters:
job (str) – URL of the Protoss job location from
submit().out (str) – Path to the output file (directory created if needed).
key (str, optional) – File type to download:
'protein'(protonated PDB),'ligand'(ligand SDF), or'log'(processing log). Default is'protein'.
- Raises:
KeyError – If the download fails after 5 retry attempts.