Skip to content

Commit

Permalink
bug fix in filter_data
Browse files Browse the repository at this point in the history
  • Loading branch information
yihming committed Jul 17, 2022
1 parent 1bcacc5 commit 7ded4bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pegasusio/qc_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def apply_qc_filters(unidata: UnimodalData, uns_white_list: str = None):
if len(unidata.varm) > 0:
unidata.varm.clear()
if uns_white_list is not None:
white_list = set(uns_white_list.split(',') + ['genome', 'modality'])
white_list = set(uns_white_list.split(',') + ['genome', 'modality', 'uid'])
for key in list(unidata.uns):
if key not in white_list:
del unidata.uns[key]
Expand Down

0 comments on commit 7ded4bb

Please sign in to comment.