Commit a6f6430e by Peter Eastman Committed by GitHub

Removed a deprecated import (#312)

parent 4c0ffa52
...@@ -58,8 +58,6 @@ import os.path ...@@ -58,8 +58,6 @@ import os.path
import math import math
from collections import defaultdict from collections import defaultdict
from pkg_resources import resource_filename
if sys.version_info >= (3,0): if sys.version_info >= (3,0):
from urllib.request import urlopen from urllib.request import urlopen
from io import StringIO from io import StringIO
...@@ -327,7 +325,7 @@ class PDBFixer(object): ...@@ -327,7 +325,7 @@ class PDBFixer(object):
Start from a filename. Start from a filename.
>>> filename = resource_filename('pdbfixer', 'tests/data/test.pdb') >>> filename = 'tests/data/test.pdb'
>>> fixer = PDBFixer(filename=filename) >>> fixer = PDBFixer(filename=filename)
Start from a file object. Start from a file object.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment