@@ -21,11 +21,11 @@ def dataset(
21
21
self , tmp_path : Path , monkeypatch : pytest .MonkeyPatch
22
22
) -> Generator [Substation , None , None ]:
23
23
"""Fixture for the Substation."""
24
- root = os .path .join (os .getcwd (), 'tests' , 'data' , 'substation' )
24
+ root = os .path .join (os .getcwd (), 'tests' , 'data' , 'substation' )
25
25
26
26
yield Substation (
27
27
root = root ,
28
- bands = [1 ,2 , 3 ],
28
+ bands = [1 , 2 , 3 ],
29
29
use_timepoints = True ,
30
30
mask_2d = True ,
31
31
timepoint_aggregation = 'median' ,
@@ -35,45 +35,45 @@ def dataset(
35
35
@pytest .mark .parametrize (
36
36
'config' ,
37
37
[
38
- {'bands' : [1 ,2 , 3 ], 'use_timepoints' : False , 'mask_2d' : True },
38
+ {'bands' : [1 , 2 , 3 ], 'use_timepoints' : False , 'mask_2d' : True },
39
39
{
40
- 'bands' : [1 ,2 , 3 ],
40
+ 'bands' : [1 , 2 , 3 ],
41
41
'use_timepoints' : True ,
42
42
'timepoint_aggregation' : 'concat' ,
43
43
'num_of_timepoints' : 4 ,
44
44
'mask_2d' : False ,
45
45
},
46
46
{
47
- 'bands' : [1 ,2 , 3 ],
47
+ 'bands' : [1 , 2 , 3 ],
48
48
'use_timepoints' : True ,
49
49
'timepoint_aggregation' : 'median' ,
50
50
'num_of_timepoints' : 4 ,
51
51
'mask_2d' : True ,
52
52
},
53
53
{
54
- 'bands' : [1 ,2 , 3 ],
54
+ 'bands' : [1 , 2 , 3 ],
55
55
'use_timepoints' : True ,
56
56
'timepoint_aggregation' : 'first' ,
57
57
'num_of_timepoints' : 4 ,
58
58
'mask_2d' : False ,
59
59
},
60
60
{
61
- 'bands' : [1 ,2 , 3 ],
61
+ 'bands' : [1 , 2 , 3 ],
62
62
'use_timepoints' : True ,
63
63
'timepoint_aggregation' : 'random' ,
64
64
'num_of_timepoints' : 4 ,
65
65
'mask_2d' : True ,
66
66
},
67
- {'bands' : [1 ,2 , 3 ], 'use_timepoints' : False , 'mask_2d' : False },
67
+ {'bands' : [1 , 2 , 3 ], 'use_timepoints' : False , 'mask_2d' : False },
68
68
{
69
- 'bands' : [1 ,2 , 3 ],
69
+ 'bands' : [1 , 2 , 3 ],
70
70
'use_timepoints' : False ,
71
71
'timepoint_aggregation' : 'first' ,
72
72
'num_of_timepoints' : 4 ,
73
73
'mask_2d' : False ,
74
74
},
75
75
{
76
- 'bands' : [1 ,2 , 3 ],
76
+ 'bands' : [1 , 2 , 3 ],
77
77
'use_timepoints' : False ,
78
78
'timepoint_aggregation' : 'random' ,
79
79
'num_of_timepoints' : 4 ,
0 commit comments