Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaudon committed Dec 5, 2023
1 parent fc60807 commit 117776b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions neurots/astrocyte/space_colonization.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 0 additions & 2 deletions neurots/generate/tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Expand Down
Binary file modified tests/astrocyte/data/astrocyte.h5
Binary file not shown.

0 comments on commit 117776b

Please sign in to comment.