Skip to content

Commit d25923b

Browse files
author
Benjamin Moody
committed
multi_to_single: reformat 'reference_fields' in PEP8 style.
1 parent 3def924 commit d25923b

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

wfdb/io/record.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1129,9 +1129,12 @@ def multi_to_single(self, physical, return_res=64):
11291129
n_sig = len(signal_names)
11301130

11311131
# This will be the field dictionary to copy over.
1132-
reference_fields = {'fmt':n_sig*[None], 'adc_gain':n_sig*[None],
1133-
'baseline':n_sig*[None],
1134-
'units':n_sig*[None]}
1132+
reference_fields = {
1133+
'fmt': n_sig * [None],
1134+
'adc_gain': n_sig * [None],
1135+
'baseline': n_sig * [None],
1136+
'units': n_sig * [None],
1137+
}
11351138

11361139
# For physical signals, mismatched fields will not be copied
11371140
# over. For digital, mismatches will cause an exception.

0 commit comments

Comments
 (0)