Skip to content

Commit ab5e4d4

Browse files
authored
Fix bug where skip_checksum argument is incorrectly passed when creating a SigMFFile instance with a pre-exisiting data file. (#9)
1 parent e51cf52 commit ab5e4d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sigmf/sigmffile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ def __init__(self, metadata=None, data_file=None, global_info=None, skip_checksu
182182
if global_info is not None:
183183
self.set_global_info(global_info)
184184
if data_file is not None:
185-
self.set_data_file(data_file, skip_checksum, map_readonly=map_readonly)
185+
self.set_data_file(data_file, skip_checksum=skip_checksum, map_readonly=map_readonly)
186186

187187
def __len__(self):
188188
return self._memmap.shape[0]

0 commit comments

Comments
 (0)