File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -164,8 +164,8 @@ def wav_to_sigmf(
164164 # handle NCD case where no output files are created
165165 if create_ncd and out_path is None :
166166 # create metadata-only SigMF for NCD pointing to original file
167- meta = SigMFFile (global_info = global_info , skip_checksum = True )
168- meta .set_data_file (data_file = wav_path , offset = header_bytes , skip_checksum = True )
167+ meta = SigMFFile (global_info = global_info )
168+ meta .set_data_file (data_file = wav_path , offset = header_bytes )
169169 meta .data_buffer = io .BytesIO ()
170170 meta .add_capture (0 , metadata = capture_info )
171171 log .debug ("created NCD SigMF: %r" , meta )
@@ -197,6 +197,7 @@ def wav_to_sigmf(
197197 # metadata returned should be for this archive
198198 meta = fromfile (filenames ["archive_fn" ])
199199 else :
200+ # write separate meta and data files
200201 data_path = filenames ["data_fn" ]
201202 wav_data .tofile (data_path )
202203
You can’t perform that action at this time.
0 commit comments