People-Places-Solutions / floodmodeller-api

The Flood Modeller Python API is a free and open-source python package which provides a bridge between Flood Modeller and the python programming language to extend the capabilities of Flood Modeller in automated workflows
https://api.floodmodeller.com/api/
Other
38 stars 15 forks source link

Insert_remove #46

Closed daisy-jacobs closed 1 year ago

daisy-jacobs commented 1 year ago

insert and remove units in dat.py 'new insert' clause in _update_raw_data

joe-pierce commented 1 year ago

Happy with this now @daisy-jacobs. I've added in some unit tests a couple of extra exception catches (e.g. if add_before or add_after aren't FM Units). Happy to merge!