We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e440eaa commit a05c4adCopy full SHA for a05c4ad
1 file changed
src/miv_simulator/cells.py
@@ -792,6 +792,12 @@ def __init__(
792
793
init_spike_detector(self)
794
795
+ def position(self, x: float, y: float, z: float) -> None:
796
+ target = self.hoc_cell if self.hoc_cell is not None else self.cell_obj
797
+ if target is None or not hasattr(target, "position"):
798
+ raise RuntimeError("cell has no position()")
799
+ target.position(x, y, z)
800
+
801
@property
802
def gid(self) -> int:
803
return self._gid
0 commit comments