From a851f7cc609299b2f26e0b6c02f1edf152e0eedb Mon Sep 17 00:00:00 2001 From: alfoa Date: Fri, 1 Dec 2023 17:15:57 -0700 Subject: [PATCH] removed issue with blank spaces --- src/CashFlow_ExtMod.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CashFlow_ExtMod.py b/src/CashFlow_ExtMod.py index 4dbc30808..d4ffe4dd4 100644 --- a/src/CashFlow_ExtMod.py +++ b/src/CashFlow_ExtMod.py @@ -173,7 +173,7 @@ def __init__(self): myInputs = {} with open(inpOpt.iINP[0]) as f: for l in f: - if l.strip().startswith("#"): + if l.strip().startswith("#") or not len(l.strip()): continue (key, val) = l.split(' ', 1) myInputs[key] = np.array([float(n) for n in val.split(",")])