## tools.ConnectionRepairTool


The Connection Repair Tool from MIKE+.


Usage

``` python
tools.ConnectionRepairTool(database)
```


Rebuilds connection tables, such as station connections (`m_StationCon`) and load point connections (`msm_LoadPointConnection`).


## Examples

``` python
>>> from mikeplus import Database
>>> db = Database("path/to/model.sqlite")
>>> conn_repair = ConnectionRepairTool(db)
>>> conn_repair.run()
>>> db.close()
```


## Methods

| Name | Description |
|----|----|
| [__init__()](#__init__) | Initialize the ConnectionRepairTool with the given Database. |
| [run()](#run) | Run the connection repair tool. |

------------------------------------------------------------------------


#### \_\_init\_\_()


Initialize the ConnectionRepairTool with the given Database.


Usage

``` python
__init__(database)
```


##### Parameters


`database: Database`  
A Database object for the MIKE+ model.


------------------------------------------------------------------------


#### run()


Run the connection repair tool.


Usage

``` python
run()
```
