Skip to content

Commit

Permalink
Removed a deprecated import
Browse files Browse the repository at this point in the history
  • Loading branch information
peastman committed Oct 28, 2024
1 parent 4c0ffa5 commit 234bb50
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pdbfixer/pdbfixer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 234bb50

Please sign in to comment.