Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,4 @@ Documentation/*
*log
*BAK
*.sublime*
*.npy
2 changes: 1 addition & 1 deletion prody/proteins/interactions.py
Original file line number Diff line number Diff line change
Expand Up @@ -1505,7 +1505,7 @@ def calcHydrophobic(atoms, **kwargs):
sele2_filter = sele2_filter.select('all and not (resname TYR PHE TRP or resid '+str(i[0])+' and chain '+i[1]+')')
elif sele1_name[0] not in aromatic and i in sele2_nr:
# don't include same residue interactions but don't worry about double counting pi stacking
sele2_filter = sele2_filter.select(sele2.select('all and not (resid '+str(i[0])+' and chain '+i[1]+')'))
sele2_filter = sele2_filter.select('all and not (resid '+str(i[0])+' and chain '+i[1]+')')

if sele2_filter != None:
listOfAtomToCompare = cleanNumbers(findNeighbors(sele1, distA, sele2_filter))
Expand Down
Loading