From 5e35e960d1b5029424d4c348671a3fdd5aedbc36 Mon Sep 17 00:00:00 2001 From: Randy McDermott Date: Sun, 14 Dec 2025 22:07:15 -0500 Subject: [PATCH] Python: skip warning if qty is 0 --- Utilities/Python/fdsplotlib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Utilities/Python/fdsplotlib.py b/Utilities/Python/fdsplotlib.py index faeb4b1e6c..5189707419 100644 --- a/Utilities/Python/fdsplotlib.py +++ b/Utilities/Python/fdsplotlib.py @@ -846,7 +846,7 @@ def _parse_stat_xy_local(m): len_m = np.size(m) if isinstance(m, np.ndarray) else 0 len_p = np.size(p) if isinstance(p, np.ndarray) else 0 csv_rownum = drange[i] if i < len(drange) else "?" - if len_m != len_p: + if len_m != len_p and qty != "0": print(f"[dataplot] Length mismatch at CSV row {csv_rownum}: {name} | {qty} | Measured={len_m}, Predicted={len_p}") print("[dataplot] returning saved_data and drange")