-
Notifications
You must be signed in to change notification settings - Fork 61
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
Improve interface of property wrappers like membrane_capacitance
.
#2254
Comments
Hi @Helveg, I'd agree with the API as written here:
If you want the magnitude of a quantity, use
|
|
I just checked, at least for v0.10.0 it seems like expected:
|
Ok! |
Wait, did you check the return value of an arbor function like |
membrane_capacitance
.
Aha, no I didn't, led astray by the title mentioning 'stubs'. Yes, that interface leaves something to be desired, |
yea my massive text blurb of my interpreter adventures isn't the greatest bug report either ;) sorry :) |
There's some stubs like
arbor.membrane_capacitance
that aren't very Python friendly, to retrieve the value it seems I have to parse their string representations:There's also
arbor.axial_resistivity
and probably others. These are returned fromdecor.paintings()
and make it pretty opaque to inspection.The text was updated successfully, but these errors were encountered: