Skip to content

Commit

Permalink
fix formatting of long lists in test_cell_io
Browse files Browse the repository at this point in the history
  • Loading branch information
K-Meech committed Mar 21, 2024
1 parent bab7f82 commit a3b65cf
Showing 1 changed file with 46 additions and 262 deletions.
308 changes: 46 additions & 262 deletions tests/tests/test_IO/test_cell_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,286 +28,70 @@ def roi_sorter_output_dir(data_path):

@pytest.fixture
def type_vals():
return [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
]
return [1] * 65


@pytest.fixture
def x_vals():
# fmt: off
return [
181,
2117,
4082,
2137,
2129,
2141,
2130,
2130,
2133,
2141,
2162,
2127,
1801,
2176,
2194,
2664,
2435,
1266,
568,
2103,
2098,
2105,
2208,
2162,
2221,
2081,
2230,
2015,
2072,
1413,
1950,
3340,
2051,
3362,
2046,
2046,
2046,
2047,
2032,
2923,
2064,
2267,
2297,
2004,
2356,
2357,
2359,
2360,
2365,
2612,
2623,
2657,
2906,
2165,
2685,
2892,
2896,
2894,
2901,
2270,
1924,
2505,
2531,
2542,
2536,
181, 2117, 4082, 2137, 2129,
2141, 2130, 2130, 2133, 2141,
2162, 2127, 1801, 2176, 2194,
2664, 2435, 1266, 568, 2103,
2098, 2105, 2208, 2162, 2221,
2081, 2230, 2015, 2072, 1413,
1950, 3340, 2051, 3362, 2046,
2046, 2046, 2047, 2032, 2923,
2064, 2267, 2297, 2004, 2356,
2357, 2359, 2360, 2365, 2612,
2623, 2657, 2906, 2165, 2685,
2892, 2896, 2894, 2901, 2270,
1924, 2505, 2531, 2542, 2536,
]
# fmt: on


@pytest.fixture
def y_vals():
# fmt: off
return [
2379,
133,
332,
134,
133,
134,
132,
133,
136,
136,
130,
1026,
336,
134,
134,
336,
343,
3427,
2012,
138,
138,
140,
135,
134,
137,
142,
139,
1045,
141,
2045,
1048,
142,
142,
145,
150,
151,
151,
151,
146,
147,
147,
147,
1068,
149,
521,
522,
523,
523,
525,
520,
520,
521,
522,
524,
522,
526,
525,
525,
526,
524,
974,
522,
527,
524,
523,
2379, 133, 332, 134, 133,
134, 132, 133, 136, 136,
130, 1026, 336, 134, 134,
336, 343, 3427, 2012, 138,
138, 140, 135, 134, 137,
142, 139, 1045, 141, 2045,
1048, 142, 142, 145, 150,
151, 151, 151, 146, 147,
147, 147, 1068, 149, 521,
522, 523, 523, 525, 520,
520, 521, 522, 524, 522,
526, 525, 525, 526, 524,
974, 522, 527, 524, 523,
]
# fmt: on


@pytest.fixture
def z_vals():
# fmt: off
return [
1282,
1276,
1281,
1286,
1276,
1278,
1277,
1278,
1285,
1297,
1274,
1294,
1290,
1279,
1280,
1296,
1290,
1294,
1294,
1285,
1279,
1289,
1275,
1286,
1281,
1284,
1275,
1291,
1273,
1294,
1294,
1274,
1274,
1274,
1283,
1287,
1290,
1294,
1272,
1275,
1275,
1274,
1292,
1273,
1288,
1286,
1287,
1289,
1298,
1274,
1274,
1273,
1275,
1275,
1278,
1286,
1278,
1288,
1295,
1279,
1282,
1275,
1276,
1275,
1286,
1282, 1276, 1281, 1286, 1276,
1278, 1277, 1278, 1285, 1297,
1274, 1294, 1290, 1279, 1280,
1296, 1290, 1294, 1294, 1285,
1279, 1289, 1275, 1286, 1281,
1284, 1275, 1291, 1273, 1294,
1294, 1274, 1274, 1274, 1283,
1287, 1290, 1294, 1272, 1275,
1275, 1274, 1292, 1273, 1288,
1286, 1287, 1289, 1298, 1274,
1274, 1273, 1275, 1275, 1278,
1286, 1278, 1288, 1295, 1279,
1282, 1275, 1276, 1275, 1286,
]
# fmt: on


@pytest.fixture
Expand Down

0 comments on commit a3b65cf

Please sign in to comment.