diff options
| author | J08nY | 2025-11-03 16:35:23 +0100 |
|---|---|---|
| committer | J08nY | 2025-11-03 16:35:23 +0100 |
| commit | c22bce41b09ae9018cc4c7ac271eeac0b67b140c (patch) | |
| tree | 8d30574dad409375f9b312bdbe94506e219a1e8f | |
| parent | 942c1105de4b3fd3e8abc35a31b4c3f33f6ad405 (diff) | |
| download | ECTester-c22bce41b09ae9018cc4c7ac271eeac0b67b140c.tar.gz ECTester-c22bce41b09ae9018cc4c7ac271eeac0b67b140c.tar.zst ECTester-c22bce41b09ae9018cc4c7ac271eeac0b67b140c.zip | |
| -rw-r--r-- | analysis/scalarmults/epare/standalone/merge_probs.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/analysis/scalarmults/epare/standalone/merge_probs.py b/analysis/scalarmults/epare/standalone/merge_probs.py index 6baf976..d4477ae 100644 --- a/analysis/scalarmults/epare/standalone/merge_probs.py +++ b/analysis/scalarmults/epare/standalone/merge_probs.py @@ -59,9 +59,9 @@ def main(compressed): maps[full].merge(prob_map) except EOFError: break - except pickle.UnpicklingError: + except (pickle.UnpicklingError, zstd.ZstdError): click.echo( - f"Bad unpickling, the probs file {file} is likely truncated." + f"Bad unpickling/decompression, the probs file {file} is likely truncated." ) break click.echo(f"Loaded {i} probmaps from {file}.") |
