Skip to content

Commit

Permalink
need to parse FeatureRegistry so no overlap in kwargs
Browse files Browse the repository at this point in the history
  • Loading branch information
grantbuster committed Jan 15, 2025
1 parent 98f5939 commit 6631f16
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sup3r/preprocessing/data_handlers/factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,10 @@ def __init__(self, file_paths, features='all', **kwargs):
kwargs for parent class, except for FeatureRegistry and
BaseLoader
"""

if 'FeatureRegistry' in kwargs:
self.FEATURE_REGISTRY.update(kwargs.pop('FeatureRegistry'))

super().__init__(
file_paths,
features=features,
Expand Down

0 comments on commit 6631f16

Please sign in to comment.