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
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.
anilbey
changed the title
'NrnSectionCompLocation' object has no attribute 'seclist_name'
distinguishing areal from point locations in hoc
Oct 31, 2022
If
create_hoc
only supports areal locations, I think neither of the otherCompLocation
s should be accepted bycreate_hoc
(NrnSeclistCompLocation
,NrnSomaDistanceCompLocation
,NrnSecSomaDistanceCompLocation
,NrnTrunkSomaDistanceCompLocation
). Effectively, it seems that onlyNrnSeclistLocation
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 (belowlocations.Location
) in the future. In Arbor this is the difference between regions and locsets.Originally posted by @lukasgd in #393 (comment)
The text was updated successfully, but these errors were encountered: