Failed to fetch fork details. Try again later.
-
Delaigue Olivier authored
v1.2.13.2 UPDATE: CreateRunOptions now check the compatibility between FUN_MOD, IniStates and IsHyst arguments
2f7c5399
Forked from
HYCAR-Hydro / airGR
Source project has a limited visibility.
# -*- coding: utf-8 -*-
import pickle
class Serializable():
def __init__(self, filename):
self.filename = filename
@classmethod
def open(cls, filename):
with open(filename, 'rb') as in_file:
me = pickle.load(in_file)
return me
def save(self):
with open(self.filename, 'wb') as out_file:
pickle.dump(self, out_file)