-
Notifications
You must be signed in to change notification settings - Fork 57
Conversation
fc7fc32
to
6fee616
Compare
07cfb98
to
4729f15
Compare
4729f15
to
a12dc2f
Compare
d2a6509
to
3c98024
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interesting!
So if I'm correct you discarded the following features:
- get neurite types by name using the ctor (e.g.
NeuriteType("axon")
) - represent unknown types (since there is no dedicated subtype)
- pass several types to
neurom.features.neurite._map_sections
Did I miss anything?
((3, 2), "<NeuriteType.axon_carrying_dendrite: (3, 2)>"), | ||
], | ||
) | ||
def test_neurite_type__repr(value, expected): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You don't like nested tests? Sometimes it's convenient to run only the tests of the NeuriteType for example.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not so much, no. I prefer a flat listing of the tests, but this is a matter of preference mostly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's do it.
This PR is the continuation of #1067