Skip to content

Commit

Permalink
Additional info/warning for calcStatisticsInteractions [small number …
Browse files Browse the repository at this point in the history
…of counts]
  • Loading branch information
karolamik13 committed Oct 2, 2024
1 parent b870860 commit ea06fd9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions prody/proteins/interactions.py
Original file line number Diff line number Diff line change
Expand Up @@ -2127,6 +2127,10 @@ def calcStatisticsInteractions(data, **kwargs):
else: pass

statistic.sort(key=lambda x: x[1], reverse=True)

if statistic == []:
LOGGER.info("Decrease the value of weight_cutoff parameter to obtain the results. Default is 0.2.")

return statistic


Expand Down

0 comments on commit ea06fd9

Please sign in to comment.