fix: 部署导出 _feat_cols_ 解包适配新4元组(name,ftype,ia,ib)

This commit is contained in:
duxin
2026-07-29 10:42:17 +08:00
parent 3fe05a0edb
commit 40f12b569e

View File

@ -795,8 +795,9 @@ class WaterQualityModelingBatch:
_phys.wavelengths, dtype=np.float64
)
_feat_map = {}
for name, ia, ib in _phys._feat_cols_:
for name, ftype, ia, ib in _phys._feat_cols_:
_feat_map[name] = {
'ftype': str(ftype),
'wl_a': float(_phys.wavelengths[ia]),
'wl_b': float(_phys.wavelengths[ib]),
'idx_a': int(ia),