Open anilbey opened 2 years ago
The attribute error is fixed in 9bbc68e.
Consider @lukasgd's suggestion:
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.
The two points connected by the "or" above are actually separate and independent aspects:
locations
class hierarchy
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 https://github.com/BlueBrain/BluePyOpt/pull/393#discussion_r1002772807_