From 234bb50a9067fe455821d234375fbc0b132adc0c Mon Sep 17 00:00:00 2001 From: peastman Date: Mon, 28 Oct 2024 09:33:50 -0700 Subject: [PATCH] Removed a deprecated import --- pdbfixer/pdbfixer.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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.