Skip to content

Commit

Permalink
Update sdgx/data_processors/transformers/fixed_combination.py
Browse files Browse the repository at this point in the history
Co-authored-by: Zhongsheng Ji <9573586@qq.com>
  • Loading branch information
jalr4ever and Wh1isper authored Nov 15, 2024
1 parent b2e674d commit 893baf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdgx/data_processors/transformers/fixed_combination.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def fit(self, metadata: Metadata | None = None, **kwargs: dict[str, Any]):
return

# Check if exist fixed combinations, if not exist, needn't run this auto-detect transform.
self.fixed_combinations = metadata.get("fixed_combinations")
self.fixed_combinations = metadata.get("fixed_combinations") or dict()
if not self.is_exist_fixed_combinations:
logger.info(
"Fit data using FixedCombinationTransformer(not existed)... Finished (No action)."
Expand Down

0 comments on commit 893baf4

Please sign in to comment.