]> Piment Noir Git Repositories - freqai-strategies.git/commit
fix(quickadapter): handle missing scaler attributes in ExtremaWeightingTransformer
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Sun, 4 Jan 2026 17:06:10 +0000 (18:06 +0100)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Sun, 4 Jan 2026 17:06:10 +0000 (18:06 +0100)
commit4daef9e36f4cda908cc5c9ad45da69578f168bf1
tree0d574e17092d2568097bb9047adeb8192359d39f
parent3d50f4f257642acd6fa934def9075665d3d6ab0a
fix(quickadapter): handle missing scaler attributes in ExtremaWeightingTransformer

Use getattr with default None value to properly handle cases where scaler
attributes don't exist (e.g., when loading pre-existing models), allowing
the RuntimeError to be raised with a clear message instead of AttributeError.
quickadapter/user_data/strategies/ExtremaWeightingTransformer.py