Skip to content

Commit

Permalink
fix outlets doctest benchmark data
Browse files Browse the repository at this point in the history
  • Loading branch information
aerispaha committed Nov 27, 2024
1 parent c273d17 commit 72b41dc
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions swmmio/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1694,10 +1694,15 @@ def outlets(self):
Access the outlets section of the inp file
>>> from swmmio.examples import streets
>>> streets.inp.outlets #doctest: +NORMALIZE_WHITESPACE
InletNode OutletNode ... Qcoeff/QTable Qexpon
Name ...
TestOutlet J100 J101 ... TestOutletTB YES
>>> streets.inp.outlets.loc['C11'] #doctest: +NORMALIZE_WHITESPACE
InletNode J11
OutletNode O1
OutflowHeight 0
OutletType FUNCTIONAL/DEPTH
Qcoeff/QTable 10
Qexpon 0.5
FlapGate NO
Name: C11, dtype: object
"""
if self._outlets_df is None:
self._outlets_df = dataframe_from_inp(self.path, "[OUTLETS]")
Expand Down

0 comments on commit 72b41dc

Please sign in to comment.