Skip to content

Commit

Permalink
Use new PDB ID to get mmCIF file
Browse files Browse the repository at this point in the history
  • Loading branch information
benmwebb committed Aug 15, 2024
1 parent 85e9e2b commit cd224c0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion rnapolii/modeling/.template.deposition.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1056,7 +1056,7 @@
"except ImportError:\n",
" import urllib2 # python2\n",
"\n",
"fh = urllib2.urlopen('https://pdb-dev.wwpdb.org/cif/PDBDEV_00000014.cif')\n",
"fh = urllib2.urlopen('https://pdb-dev.wwpdb.org/cif/8zze.cif')\n",
"s, = ihm.reader.read(fh)\n",
"print(s.title, s.restraints, s.ensembles, s.state_groups)"
]
Expand Down
2 changes: 1 addition & 1 deletion rnapolii/modeling/deposition-colab.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1048,7 +1048,7 @@
"except ImportError:\n",
" import urllib2 # python2\n",
"\n",
"fh = urllib2.urlopen('https://pdb-dev.wwpdb.org/cif/PDBDEV_00000014.cif')\n",
"fh = urllib2.urlopen('https://pdb-dev.wwpdb.org/cif/8zze.cif')\n",
"s, = ihm.reader.read(fh)\n",
"print(s.title, s.restraints, s.ensembles, s.state_groups)"
]
Expand Down
2 changes: 1 addition & 1 deletion rnapolii/modeling/deposition.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1020,7 +1020,7 @@
"except ImportError:\n",
" import urllib2 # python2\n",
"\n",
"fh = urllib2.urlopen('https://pdb-dev.wwpdb.org/cif/PDBDEV_00000014.cif')\n",
"fh = urllib2.urlopen('https://pdb-dev.wwpdb.org/cif/8zze.cif')\n",
"s, = ihm.reader.read(fh)\n",
"print(s.title, s.restraints, s.ensembles, s.state_groups)"
]
Expand Down
2 changes: 1 addition & 1 deletion rnapolii/modeling/deposition.py
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,6 @@
except ImportError:
import urllib2 # python2

fh = urllib2.urlopen('https://pdb-dev.wwpdb.org/cif/PDBDEV_00000014.cif')
fh = urllib2.urlopen('https://pdb-dev.wwpdb.org/cif/8zze.cif')
s, = ihm.reader.read(fh)
print(s.title, s.restraints, s.ensembles, s.state_groups)

0 comments on commit cd224c0

Please sign in to comment.