From 849293d6146fe0a2a1e956c08501c522edd303cf Mon Sep 17 00:00:00 2001 From: Tobias Megies Date: Wed, 6 May 2020 09:35:12 +0200 Subject: [PATCH] Allow reading/indexing of GSE2 files with bad checksum Quite a lot of old GSE2 files have invalid checksums, supposedly due to some bugs in old writing routines from back in the day. Probably we should just ignore those checksum problems. Due to the amount of valid GSE2 files with bad checksums these checksum tests seem more harmful than doing much good it seems. --- src/jane/waveforms/process_waveforms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jane/waveforms/process_waveforms.py b/src/jane/waveforms/process_waveforms.py index 0a4beea..b1c6ba7 100644 --- a/src/jane/waveforms/process_waveforms.py +++ b/src/jane/waveforms/process_waveforms.py @@ -50,7 +50,7 @@ def process_file(filename): # Step 2: Read the file and perform a couple of sanity checks. Delete an # eventually existing file. try: - stream = read(filename) + stream = read(filename, verify_chksum=False) except: # Delete if invalid file. if file is not None: