mdeamico / jodeln

Tool for OD matrix estimation
GNU General Public License v3.0
4 stars 0 forks source link

Update NetNode init parameters #26

Closed mdeamico closed 2 years ago

mdeamico commented 2 years ago

Consolidate NetNode init parameters into a NodeParameters dataclass to help with type hints and intellisense. Move type conversion responsibility to net_read.py. Moving type conversion responsibility allows the code to be more flexible if other import formats are allowed beyond csv. Each import function can be responsible for converting data to NodeParameters.