You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 26, 2025. It is now read-only.
Repository navigation
This repository was archived by the owner on Feb 26, 2025. It is now read-only.
distinguishing areal from point locations in hoc #421
If create_hoc only supports areal locations, I think neither of the other CompLocations should be accepted by create_hoc (NrnSeclistCompLocation, NrnSomaDistanceCompLocation, NrnSecSomaDistanceCompLocation, NrnTrunkSomaDistanceCompLocation). Effectively, it seems that only NrnSeclistLocation is supported for the mechanism location, hence, I've added a check. It might be worth distinguishing areal from point locations in the class hierarchy (below locations.Location) in the future. In Arbor this is the difference between regions and locsets.
I think follow-up issues should focus on extending hoc-support or, as suggested above, introducing another level in the locations class hierarchy that distinguishes areal from point locations.
changed the title [-]'NrnSectionCompLocation' object has no attribute 'seclist_name'[/-][+]distinguishing areal from point locations in hoc[/+]on Oct 31, 2022
Activity
anilbey commentedon Oct 31, 2022
The attribute error is fixed in 9bbc68e.
Consider @lukasgd's suggestion:
[-]'NrnSectionCompLocation' object has no attribute 'seclist_name'[/-][+]distinguishing areal from point locations in hoc[/+]lukasgd commentedon Nov 7, 2022
The two points connected by the "or" above are actually separate and independent aspects:
locationsclass hierarchy