diff --git a/pdbfixer/pdbfixer.py b/pdbfixer/pdbfixer.py index 6fc6c4b..645fcdd 100644 --- a/pdbfixer/pdbfixer.py +++ b/pdbfixer/pdbfixer.py @@ -58,8 +58,6 @@ import math from collections import defaultdict -from pkg_resources import resource_filename - if sys.version_info >= (3,0): from urllib.request import urlopen from io import StringIO @@ -327,7 +325,7 @@ def __init__(self, filename=None, pdbfile=None, pdbxfile=None, url=None, pdbid=N Start from a filename. - >>> filename = resource_filename('pdbfixer', 'tests/data/test.pdb') + >>> filename = 'tests/data/test.pdb' >>> fixer = PDBFixer(filename=filename) Start from a file object.