@@ -813,7 +813,6 @@ def __init__(
813
813
sig_name = None ,
814
814
comments = None ,
815
815
):
816
-
817
816
# Note the lack of the 'n_seg' field. Single segment records cannot
818
817
# have this field. Even n_seg = 1 makes the header a multi-segment
819
818
# header.
@@ -877,7 +876,6 @@ def __eq__(self, other, verbose=False):
877
876
return False
878
877
879
878
for k in att1 .keys ():
880
-
881
879
v1 = att1 [k ]
882
880
v2 = att2 [k ]
883
881
@@ -894,7 +892,7 @@ def __eq__(self, other, verbose=False):
894
892
and len (v1 ) == len (v2 )
895
893
and all (isinstance (e , np .ndarray ) for e in v1 )
896
894
):
897
- for ( e1 , e2 ) in zip (v1 , v2 ):
895
+ for e1 , e2 in zip (v1 , v2 ):
898
896
np .testing .assert_array_equal (e1 , e2 )
899
897
else :
900
898
if v1 != v2 :
@@ -988,7 +986,6 @@ def _arrange_fields(self, channels, sampfrom, smooth_frames):
988
986
# Checksum and init_value to be updated if present
989
987
# unless the whole signal length was input
990
988
if self .sig_len != self .d_signal .shape [0 ]:
991
-
992
989
if self .checksum is not None :
993
990
self .checksum = self .calc_checksum ()
994
991
if self .init_value is not None :
@@ -1136,7 +1133,6 @@ def __init__(
1136
1133
sig_name = None ,
1137
1134
sig_segments = None ,
1138
1135
):
1139
-
1140
1136
super (MultiRecord , self ).__init__ (
1141
1137
record_name = record_name ,
1142
1138
n_sig = n_sig ,
@@ -1203,7 +1199,6 @@ def _check_segment_cohesion(self):
1203
1199
raise ValueError ("Length of segments must match the 'n_seg' field" )
1204
1200
1205
1201
for seg_num , segment in enumerate (self .segments ):
1206
-
1207
1202
# If segment 0 is a layout specification record, check that its file names are all == '~''
1208
1203
if seg_num == 0 and self .seg_len [0 ] == 0 :
1209
1204
for file_name in segment .file_name :
0 commit comments