Skip to content

Commit 3c1d839

Browse files
KriFos1Copilot
andcommitted
Update src/pipt/misc_tools/extract_tools.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 80bbfb2 commit 3c1d839

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/pipt/misc_tools/extract_tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ def organize_sparse_representation(info: Union[dict,list]) -> dict:
444444
sparse['mask'].append(mask.flatten())
445445

446446
# Read rest of keywords
447-
sparse['compress_data'] = info['compress_data']
447+
sparse['compress_data'] = info.get('compress_data', False)
448448
sparse['level'] = info['level']
449449
sparse['wname'] = info['wname']
450450
sparse['threshold_rule'] = info['threshold_rule']

0 commit comments

Comments
 (0)