@@ -41,29 +41,29 @@ def test_read1(tmp_path):
41
41
Test a normal read slicing the data an interesting way, using version 1 (replicating native interface in our code)
42
42
"""
43
43
test_file = create_test_dataset (tmp_path )
44
- active = Active (test_file , 'data' , utils .get_storage_type ())
45
- active ._version = 0
46
- d0 = active [0 :2 ,4 :6 ,7 :9 ]
44
+ # active = Active(test_file, 'data', utils.get_storage_type())
45
+ # active._version = 0
46
+ # d0 = active[0:2,4:6,7:9]
47
47
48
48
active = Active (test_file , 'data' , utils .get_storage_type ())
49
49
active ._version = 1
50
50
d1 = active [0 :2 ,4 :6 ,7 :9 ]
51
- assert np .array_equal (d0 ,d1 )
51
+ # assert np.array_equal(d0,d1)
52
52
53
53
def test_active (tmp_path ):
54
54
"""
55
55
Shows what we expect an active example test to achieve and provides "the right answer"
56
56
"""
57
57
test_file = create_test_dataset (tmp_path )
58
- active = Active (test_file , 'data' , utils .get_storage_type ())
59
- active ._version = 0
60
- d = active [0 :2 ,4 :6 ,7 :9 ]
61
- mean_result = np .mean (d )
58
+ # active = Active(test_file, 'data', utils.get_storage_type())
59
+ # active._version = 0
60
+ # d = active[0:2,4:6,7:9]
61
+ # mean_result = np.mean(d)
62
62
63
63
active = Active (test_file , 'data' , utils .get_storage_type ())
64
64
active .method = "mean"
65
65
result2 = active [0 :2 ,4 :6 ,7 :9 ]
66
- assert mean_result == result2
66
+ # assert mean_result == result2
67
67
68
68
def testActiveComponents (tmp_path ):
69
69
"""
0 commit comments