Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Better first_point fix #96

Merged
merged 59 commits into from
Jan 25, 2024
Merged
Changes from 1 commit
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
ad7ef07
Fix: Better first_point fix
arnaudon Dec 1, 2023
90c2166
Update neurots/generate/tree.py
arnaudon Dec 1, 2023
9d19f67
some fix
arnaudon Dec 4, 2023
8926c0e
update tests
arnaudon Dec 4, 2023
e4b1cc7
format
arnaudon Dec 4, 2023
f5a6fe6
v2
arnaudon Dec 4, 2023
0381a19
asto test fix
arnaudon Dec 4, 2023
796fcaf
fix
arnaudon Dec 5, 2023
d904a16
fix tests
arnaudon Dec 5, 2023
acd5cb5
again
arnaudon Dec 5, 2023
2d66d44
aaaah
arnaudon Dec 5, 2023
ce4e910
test
arnaudon Dec 5, 2023
3412769
test
arnaudon Dec 5, 2023
b3f72b3
test
arnaudon Dec 5, 2023
1dad8da
test
arnaudon Dec 5, 2023
208ec07
test
arnaudon Dec 5, 2023
7a4af2a
test
arnaudon Dec 5, 2023
9c69729
test
arnaudon Dec 5, 2023
e6d7627
test
arnaudon Dec 5, 2023
4824c0e
test
arnaudon Dec 5, 2023
7acbed0
test
arnaudon Dec 5, 2023
053639c
test
arnaudon Dec 5, 2023
1937882
test
arnaudon Dec 5, 2023
127e1c9
test
arnaudon Dec 5, 2023
00d0a6b
test
arnaudon Dec 5, 2023
c44eed4
test
arnaudon Dec 5, 2023
fc60807
test
arnaudon Dec 5, 2023
117776b
test
arnaudon Dec 5, 2023
43ca855
test
arnaudon Dec 5, 2023
f626fad
test
arnaudon Dec 5, 2023
46499ec
test
arnaudon Dec 5, 2023
042f2d7
test
arnaudon Dec 5, 2023
772ef06
test
arnaudon Dec 5, 2023
6e21fde
test
arnaudon Dec 5, 2023
d22c55c
test
arnaudon Dec 5, 2023
85e8b76
test
arnaudon Dec 5, 2023
027d822
test
arnaudon Dec 5, 2023
c1559ba
test
arnaudon Dec 5, 2023
4825a7f
test
arnaudon Dec 5, 2023
c040034
test
arnaudon Dec 5, 2023
2634c47
test
arnaudon Dec 5, 2023
46c87fe
test
arnaudon Dec 5, 2023
9583f79
test
arnaudon Dec 5, 2023
38ce776
test
arnaudon Dec 5, 2023
61cf139
test
arnaudon Dec 5, 2023
057e7ba
test
arnaudon Dec 5, 2023
420667d
test
arnaudon Dec 5, 2023
7c09571
lint
arnaudon Dec 5, 2023
c0a1884
fixt
arnaudon Dec 6, 2023
ae96891
fix
arnaudon Dec 6, 2023
6b9351b
aaaaaaaaa
arnaudon Dec 6, 2023
f58ee71
back to round
arnaudon Dec 6, 2023
5e2de09
lint
arnaudon Dec 6, 2023
11a15db
add a test
arnaudon Dec 6, 2023
d8eb0c2
Merge branch 'fix_first_point' of github.com:BlueBrain/NeuroTS into f…
arnaudon Dec 6, 2023
839a791
forgot test file
arnaudon Dec 6, 2023
e2166fe
round
arnaudon Dec 6, 2023
5854ad4
round
arnaudon Dec 6, 2023
7a29457
lint
arnaudon Dec 6, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions neurots/generate/tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,13 +284,14 @@ def next_point(self):
child.first_point()
self.active_sections.remove(section_grower)

# we need this so that the pathlenght match due the child.first_point() in bifs
arnaudon marked this conversation as resolved.
Show resolved Hide resolved
for section in self.active_sections:
arnaudon marked this conversation as resolved.
Show resolved Hide resolved
section.next_point()

elif state == "terminate":
# the current section_grower terminates
self.growth_algo.terminate(section_grower)
self.active_sections.remove(section_grower)

else:
raise NeuroTSError(f"Unknown state during growth: {state}") # pragma: no cover
else:
# we need this so that the pathlenght match due the child.first_point() in bifs
section_grower.next()
Loading