Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change max consistency value to 100 instead of 99 #227

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

CeliaBenquet
Copy link
Member

The maximum consistency value was set to 99 when plotting the consistency matrix. This is a fix so that max is set to 100 instead.

@cla-bot cla-bot bot added the CLA signed label Feb 26, 2025
@CeliaBenquet CeliaBenquet self-assigned this Feb 26, 2025
@CeliaBenquet CeliaBenquet added bug Something isn't working 🐞 fix and removed bug Something isn't working labels Feb 26, 2025
@@ -684,7 +684,7 @@ def _to_heatmap_format(
else:
heatmap_values[i, j] = score_dict[label_i, label_j]

return np.minimum(heatmap_values * 100, 99)
return np.minimum(heatmap_values * 100, 100)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
return np.minimum(heatmap_values * 100, 100)
return heatmap_values * 100

what about simply removing this in general?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

but otherwise also fine to merge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants