Skip to content

Commit

Permalink
removed issue with blank spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
alfoa committed Dec 2, 2023
1 parent 1d42398 commit a851f7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CashFlow_ExtMod.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(",")])
Expand Down

0 comments on commit a851f7c

Please sign in to comment.