Skip to content

Commit

Permalink
Allow MappedMatrixDict to take extra kwargs
Browse files Browse the repository at this point in the history
  • Loading branch information
cmutel committed Jun 4, 2024
1 parent 24ff3ec commit 0f2b769
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions matrix_utils/mapped_matrix_dict.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ def __init__(
empty_ok: bool = False,
sequential: bool = False,
matrix_class: Type[MappedMatrix] = MappedMatrix,
**kwargs,
):
"""A thin wrapper around a dict of `MappedMatrix` objects. See its docstring
for details on `custom_filter` and `indexer_override`.
Expand Down Expand Up @@ -143,6 +144,7 @@ def __init__(
transpose=transpose,
custom_filter=custom_filter,
empty_ok=empty_ok,
**kwargs,
)
for key, packages in packages.items()
}
Expand Down

0 comments on commit 0f2b769

Please sign in to comment.