Skip to content

Commit

Permalink
warn wrong energy type
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmkrieger committed Nov 21, 2024
1 parent 4f3320a commit 375d5ff
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions prody/proteins/interactions.py
Original file line number Diff line number Diff line change
Expand Up @@ -3847,6 +3847,9 @@ def showCumulativeInteractionTypes(self, **kwargs):
self.buildInteractionMatrixEnergy(energy_list_type=energy_list_type)
matrix_en = self._interactions_matrix_en

elif self._energy_type != energy_list_type:
LOGGER.warn('The energy type is {0}, not {1}'.format(self._energy_type, energy_list_type))

matrix_en_sum = np.sum(matrix_en, axis=0)

width = 0.8
Expand Down

0 comments on commit 375d5ff

Please sign in to comment.