Skip to content

Commit

Permalink
Merge pull request #7 from DHI/M+Py
Browse files Browse the repository at this point in the history
update SWMM test data
  • Loading branch information
wuwwen authored Nov 3, 2023
2 parents 392fceb + 313fc09 commit b278949
Show file tree
Hide file tree
Showing 14 changed files with 28,468 additions and 23 deletions.
2 changes: 1 addition & 1 deletion notebooks/EngineAccessor.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"from mikeplus.engines.swmm import SWMM\n",
"\n",
"current_dir = os.getcwd()\n",
"data_access = DataTableAccess(\"../tests/testdata/Db/SWMM_Sirius/Sirius_SWMM.sqlite\")\n",
"data_access = DataTableAccess(\"../tests/testdata/Db/SWMM/Simple_Network.sqlite\")\n",
"data_access.open_database()\n",
"engine = SWMM(data_access.datatables)\n",
"engine.run()\n",
Expand Down
2 changes: 1 addition & 1 deletion tests/test_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def test_epanet_engine():


def test_swmm_engine():
dbFile = os.path.join("tests", "testdata", "Db", "SWMM_Sirius", "Sirius_SWMM.sqlite")
dbFile = os.path.join("tests", "testdata", "Db", "SWMM", "Simple_Network.sqlite")
current_dir = os.getcwd()
data_access = DataTableAccess(dbFile)
data_access.open_database()
Expand Down
Loading

0 comments on commit b278949

Please sign in to comment.