Skip to content

Commit

Permalink
Added or statement to avoid negative networks in landscape NO_JIRA
Browse files Browse the repository at this point in the history
  • Loading branch information
pmbulit committed May 31, 2024
1 parent 5052978 commit 92803cf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ def hbp_landscape(groups, observed_groups, crystal, directory, work_directory, d
highest_pairs = obs_pairs

# Static legend
if highest_pairs <= 10:
if highest_pairs <= 10 or obs_pairs < 6:
for i, colour in enumerate(hbp_colours):
figure_i = plt.scatter([group.hbond_score for group in groups if len(group.hbonds) == i],
[abs(group.coordination_score) for group in groups if len(group.hbonds) == i],
Expand Down

0 comments on commit 92803cf

Please sign in to comment.