From 117776b56ad438795c24d4dadd7910dc18200b2c Mon Sep 17 00:00:00 2001 From: arnaudon Date: Tue, 5 Dec 2023 16:28:43 +0100 Subject: [PATCH] test --- neurots/astrocyte/space_colonization.py | 2 ++ neurots/generate/tree.py | 2 -- tests/astrocyte/data/astrocyte.h5 | Bin 151568 -> 151568 bytes 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/neurots/astrocyte/space_colonization.py b/neurots/astrocyte/space_colonization.py index 816fd43d..4c42b180 100644 --- a/neurots/astrocyte/space_colonization.py +++ b/neurots/astrocyte/space_colonization.py @@ -428,6 +428,8 @@ def bifurcate(self, current_section): current_section, ang, self.params, self.context ) + import numpy as np + dir2 = np.array([0, 1, 0]) first_point = np.array(current_section.last_point) stop1, stop2 = self.get_stop_criteria(current_section) diff --git a/neurots/generate/tree.py b/neurots/generate/tree.py index ec6ba3c9..2bac46cc 100644 --- a/neurots/generate/tree.py +++ b/neurots/generate/tree.py @@ -282,8 +282,6 @@ def next_point(self): # Returns two section_grower dictionaries: (S1, S2) for child_section in self.growth_algo.bifurcate(section_grower): print('lkjlkj', section_grower.last_point) - import numpy as np - child_section['direction'] = np.array([0, 1, 0]) child = self.add_section( parent=section, pathlength=section_grower.pathlength, **child_section ) diff --git a/tests/astrocyte/data/astrocyte.h5 b/tests/astrocyte/data/astrocyte.h5 index 0329558496e138148a1d6ca8525bd4ce7dba895f..85d170b48cebda8840a403ece49c54cd17e4ade4 100644 GIT binary patch delta 31 ncmbQRfOEnE&JBB*8S6LiW%g%ctZ(LJYv*NS+|J9!#OwtCuYCyc delta 31 ncmbQRfOEnE&JBB*8TmHvW%g%c