From 40f12b569ef4642b6b5e84f0e4188da3a60d80aa Mon Sep 17 00:00:00 2001 From: duxin Date: Wed, 29 Jul 2026 10:42:17 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=83=A8=E7=BD=B2=E5=AF=BC=E5=87=BA=20?= =?UTF-8?q?=5Ffeat=5Fcols=5F=20=E8=A7=A3=E5=8C=85=E9=80=82=E9=85=8D?= =?UTF-8?q?=E6=96=B04=E5=85=83=E7=BB=84(name,ftype,ia,ib)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/core/modeling/modeling_batch.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/modeling/modeling_batch.py b/src/core/modeling/modeling_batch.py index c61737d..497a3e2 100644 --- a/src/core/modeling/modeling_batch.py +++ b/src/core/modeling/modeling_batch.py @@ -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),