@@ -1469,7 +1469,9 @@ def convert_label_attribute(
14691469 return
14701470
14711471 label_map = self .create_label_map (inplace = False )
1472- label_map .set_index (keys = pd .Index (label_map [source_field ].values ), inplace = True )
1472+ label_map .set_index (
1473+ keys = pd .Index (label_map [source_field ].values ), inplace = True
1474+ )
14731475
14741476 try :
14751477 target_item = label_map .loc [
@@ -1959,7 +1961,7 @@ def rdann(
19591961 filebytes = load_byte_pairs (record_name , extension , pn_dir )
19601962
19611963 # Get WFDB annotation fields from the file bytes
1962- ( sample , label_store , subtype , chan , num , aux_note ) = proc_ann_bytes (
1964+ sample , label_store , subtype , chan , num , aux_note = proc_ann_bytes (
19631965 filebytes , sampto
19641966 )
19651967
@@ -1970,17 +1972,17 @@ def rdann(
19701972 )
19711973
19721974 # Try to extract information describing the annotation file
1973- ( fs , custom_labels ) = interpret_defintion_annotations (
1975+ fs , custom_labels = interpret_defintion_annotations (
19741976 potential_definition_inds , aux_note
19751977 )
19761978
19771979 # Remove annotations that do not store actual sample and label information
1978- ( sample , label_store , subtype , chan , num , aux_note ) = rm_empty_indices (
1980+ sample , label_store , subtype , chan , num , aux_note = rm_empty_indices (
19791981 rm_inds , sample , label_store , subtype , chan , num , aux_note
19801982 )
19811983
19821984 # Convert lists to numpy arrays dtype='int'
1983- ( label_store , subtype , chan , num ) = lists_to_int_arrays (
1985+ label_store , subtype , chan , num = lists_to_int_arrays (
19841986 label_store , subtype , chan , num
19851987 )
19861988
0 commit comments