Skip to content

Commit

Permalink
undisplaying path to the files with energies
Browse files Browse the repository at this point in the history
  • Loading branch information
karolamik13 committed Oct 2, 2024
1 parent 163a6f4 commit b870860
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions prody/proteins/interactions.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,12 +212,12 @@ def get_energy(pair, source):

if PY3K:
with pkg_resources.path('prody.proteins', 'tabulated_energies.txt') as file_path:
print("File with energies: ", file_path)
#print("File with energies: ", file_path)
with open(file_path) as f:
data = np.loadtxt(f, dtype=str)
else:
file_path = pkg_resources.resource_filename('prody.proteins', 'tabulated_energies.txt')
print("File with energies: ", file_path)
#print("File with energies: ", file_path)
with open(file_path) as f:
data = np.loadtxt(f, dtype=str)

Expand Down

0 comments on commit b870860

Please sign in to comment.