From 4120f253a974f6f1b8d28b2092703efda3f3bc34 Mon Sep 17 00:00:00 2001 From: bowguy Date: Wed, 7 Aug 2024 10:52:19 -0600 Subject: [PATCH] Update text.py Change delim_whitespace=True to sep='\s+' --- swmmio/utils/text.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swmmio/utils/text.py b/swmmio/utils/text.py index d64bd2d..7c97dda 100644 --- a/swmmio/utils/text.py +++ b/swmmio/utils/text.py @@ -263,7 +263,7 @@ def get_inp_sections_details(inp_path, include_brackets=False): ops_cols = INP_OBJECTS['OPTIONS']['columns'] ops_string = extract_section_of_file(inp_path, '[OPTIONS]', INP_SECTION_TAGS, ) options = pd.read_csv(StringIO(ops_string), header=None, - delim_whitespace=True, skiprows=[0], index_col=0, + sep='\s+', skiprows=[0], index_col=0, names=ops_cols) if 'INFILTRATION' in found_sects: