Skip to content

Conversation

@ruuskas
Copy link
Contributor

@ruuskas ruuskas commented Oct 7, 2025

Basically as title says. It's not perfect, but 100% coverage except for the case of several external signals.

I was unable to run the entire test suite, but at least this test works on my machine.

dics_coherence_external
)
from conpy.connectivity import _BaseConnectivity, _get_vert_ind_from_label
from conpy.connectivity import BaseConnectivity, _get_vert_ind_from_label
Copy link
Collaborator

Choose a reason for hiding this comment

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

I changed this as some point. _BaseConnectivity should be a private class.

label_con = _make_label_connectivity()

# Test BaseConnectivity
assert not baseCon.is_compatible(label_con)
Copy link
Collaborator

@wmvanvliet wmvanvliet Oct 8, 2025

Choose a reason for hiding this comment

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

Suggested change
assert not baseCon.is_compatible(label_con)
assert not con_base.is_compatible(label_con)

The python convention is to use snake case 🐍 for variable names (and camel case for class names).

@wmvanvliet
Copy link
Collaborator

I've added CI robots that run the entire test suite. They are currently unhappy because of the BaseConnectivity / _BaseConnectivity issue.

@ruuskas
Copy link
Contributor Author

ruuskas commented Oct 8, 2025

The robots seem to be happy now

@wmvanvliet
Copy link
Collaborator

very nice work, thanks!

@wmvanvliet wmvanvliet merged commit d8913e1 into AaltoImagingLanguage:main Oct 8, 2025
2 checks passed
@ruuskas ruuskas deleted the external branch October 9, 2025 07:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants