Skip to content

Commit

Permalink
Skip formating for some long lists
Browse files Browse the repository at this point in the history
  • Loading branch information
adrien-berchet committed Sep 20, 2022
1 parent 8bddfc9 commit fc29bee
Showing 1 changed file with 17 additions and 224 deletions.
241 changes: 17 additions & 224 deletions tests/apps/test_morph_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,28 +85,8 @@
'max_section_lengths': 11.018460736176685,
'max_section_branch_orders': 10,
'raw_section_branch_orders': [
0,
1,
1,
2,
2,
3,
3,
4,
4,
5,
5,
6,
6,
7,
7,
8,
8,
9,
9,
10,
10,
],
0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10,
], # fmt: skip
'sum_section_volumes': 276.73857657289523,
'max_segment_midpoints_0': 0.0,
'max_segment_midpoints_1': 0.0,
Expand All @@ -118,91 +98,10 @@
'max_section_lengths': 11.758281556059444,
'max_section_branch_orders': 10,
'raw_section_branch_orders': [
0,
1,
1,
2,
2,
3,
3,
4,
4,
5,
5,
6,
6,
7,
7,
8,
8,
9,
9,
10,
10,
0,
1,
1,
2,
2,
3,
3,
4,
4,
5,
5,
6,
6,
7,
7,
8,
8,
9,
9,
10,
10,
0,
1,
1,
2,
2,
3,
3,
4,
4,
5,
5,
6,
6,
7,
7,
8,
8,
9,
9,
10,
10,
0,
1,
1,
2,
2,
3,
3,
4,
4,
5,
5,
6,
6,
7,
7,
8,
8,
9,
9,
10,
10,
],
0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 0, 1, 1, 2, 2, 3, 3, 4,
4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8,
8, 9, 9, 10, 10, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10,
], # fmt: skip
'sum_section_volumes': 1104.9077419665782,
'max_segment_midpoints_0': 64.401674984050004,
'max_segment_midpoints_1': 48.48197694465,
Expand All @@ -214,28 +113,8 @@
'max_section_lengths': 11.758281556059444,
'max_section_branch_orders': 10,
'raw_section_branch_orders': [
0,
1,
1,
2,
2,
3,
3,
4,
4,
5,
5,
6,
6,
7,
7,
8,
8,
9,
9,
10,
10,
],
0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10,
], # fmt: skip
'sum_section_volumes': 271.9412385728449,
'max_segment_midpoints_0': 64.401674984050004,
'max_segment_midpoints_1': 0.0,
Expand All @@ -247,49 +126,9 @@
'max_section_lengths': 11.652508126101711,
'max_section_branch_orders': 10,
'raw_section_branch_orders': [
0,
1,
1,
2,
2,
3,
3,
4,
4,
5,
5,
6,
6,
7,
7,
8,
8,
9,
9,
10,
10,
0,
1,
1,
2,
2,
3,
3,
4,
4,
5,
5,
6,
6,
7,
7,
8,
8,
9,
9,
10,
10,
],
0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 0, 1, 1, 2, 2, 3, 3, 4,
4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10,
], # fmt: skip
'sum_section_volumes': 556.22792682083821,
'max_segment_midpoints_0': 64.007872333250006,
'max_segment_midpoints_1': 48.48197694465,
Expand Down Expand Up @@ -749,60 +588,14 @@ def test_generate_flattened_dict__with_kwargs():
assert list(ms._generate_flattened_dict(header, fake_results)) == [
[
'fake_name0',
0.0,
1.0,
2.0,
3.0,
4.0,
5.0,
6.0,
7.0,
8.0,
9.0,
1.0,
2.0,
3.0,
4.0,
5.0,
6.0,
7.0,
8.0,
9.0,
1.0,
2.0,
3.0,
4.0,
5.0,
6.0,
],
0.0, 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0,
8.0, 9.0, 1.0, 2.0, 3.0, 4.0, 5.0, 6.0,
], # fmt: skip
[
'fake_name1',
0.0,
1.0,
2.0,
3.0,
4.0,
5.0,
6.0,
7.0,
8.0,
9.0,
1.0,
2.0,
3.0,
4.0,
5.0,
6.0,
7.0,
8.0,
9.0,
1.0,
2.0,
3.0,
4.0,
5.0,
6.0,
],
0.0, 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0,
8.0, 9.0, 1.0, 2.0, 3.0, 4.0, 5.0, 6.0,
], # fmt: skip
]


Expand Down

0 comments on commit fc29bee

Please sign in to comment.