Skip to content
Snippets Groups Projects
Commit e3b28b17 authored by Studer Gabriel's avatar Studer Gabriel
Browse files

Use recommended RCSB URLS for remote repositories

The previously used URLS were redirected to the new ones but redirection
is not guaranteed to last indefinitely.
related documentation: https://www.rcsb.org/pages/download/http
parent ef8d604b
No related branches found
No related tags found
No related merge requests found
......@@ -111,11 +111,11 @@ class RemoteRepository:
return LoadMMCIF(tmp_file.name)
REMOTE_REPOSITORIES = {
'pdb' : RemoteRepository('pdb.org (PDB)', 'https://www.pdb.org/pdb/files/$ID.pdb.gz',
'pdb' : RemoteRepository('rcsb.org (PDB)', 'https://files.rcsb.org/download/$ID.pdb.gz',
type='pdb', id_transform='upper'),
'smtl' : RemoteRepository('SMTL', 'https://swissmodel.expasy.org/templates/$ID.pdb',
type='pdb', id_transform='lower'),
'cif' : RemoteRepository('pdb.org (mmCIF)', 'https://www.pdb.org/pdb/files/$ID.cif.gz',
'cif' : RemoteRepository('rcsb.org (mmCIF)', 'https://files.rcsb.org/download/$ID.cif.gz',
type='cif', id_transform='lower'),
'pdb_redo' : RemoteRepository('pdbredo', 'https://pdb-redo.eu/db/$ID/$ID_besttls.pdb.gz',
type='pdb', id_transform='lower'),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment