Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions gget/gget_pdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ def pdb(pdb_id: str, resource: str = "pdb", identifier: str | int | None = None,
# Define URLs for HTTP request.
# Each entry is (url, fetched_format) so we can track which structure format
# was actually returned ("pdb"/"mmcif"/None for JSON resources).
urls: list[tuple[str, str | None]]

if resource not in structure_resources:
# URLs to request resources other than a structure file
if identifier is not None:
Expand Down
Loading