Skip to content

Commit

Permalink
selectChannelBySelection - Py2.7 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
karolamik13 committed Jan 19, 2025
1 parent b73ef26 commit 7f36dd1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion prody/proteins/channels.py
Original file line number Diff line number Diff line change
Expand Up @@ -792,7 +792,8 @@ def selectChannelBySelection(atoms, residue_sele, **kwargs):
pdb_files = [file for file in os.listdir('.') if file.endswith('.pdb')]

residue_sele = atoms.select(residue_sele)
os.makedirs(folder_name, exist_ok=True)
if not os.path.exists(folder_name):
os.makedirs(folder_name)

for i in pdb_files:
channel = parsePDB(i)
Expand Down

0 comments on commit 7f36dd1

Please sign in to comment.