Skip to content

Commit

Permalink
Update text.py
Browse files Browse the repository at this point in the history
Change
delim_whitespace=True
to
sep='\s+'
  • Loading branch information
bowguy authored Aug 7, 2024
1 parent e2356ff commit 4120f25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion swmmio/utils/text.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 4120f25

Please sign in to comment.