Support run epa3

This commit is contained in:
Joey Wang
2023-03-22 13:36:57 +08:00
parent a73cd3deba
commit 9a65990278
3 changed files with 13 additions and 7 deletions

View File

@@ -197,8 +197,8 @@ def import_inp(name: str, cs: ChangeSet, version: str = '3') -> bool:
def export_inp(name: str, version: str = '3') -> ChangeSet:
return api.export_inp(name, version)
def run_project(name: str) -> str:
return epanet.run_project(name)
def run_project(name: str, version: str = '3') -> str:
return epanet.run_project(name, version)
# put in inp folder, name without extension
def run_inp(name: str) -> str: