You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes. I was thinking that load and dump handle the dictionary of parameters. The __setstate__ and __getstate__ methods could then make use of this, plus a little extra to handle the actual state.
It should be easy to add pickle support to the classes. This could be tied into read/write support for JSON.
(I realise
catchment_from_json()
exists - I was thinking,Catchment.load()
andCatchment.dump()
.The text was updated successfully, but these errors were encountered: