Skip to content

Commit

Permalink
Fix tests #43
Browse files Browse the repository at this point in the history
  • Loading branch information
saroele committed May 14, 2018
1 parent 4f146f5 commit bbfbee4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions opengrid/library/regression.py
Original file line number Diff line number Diff line change
Expand Up @@ -502,8 +502,8 @@ def __getstate__(self):
for fit in self._list_of_fits:
d['formulas'].append(self._modeldesc_to_dict(fit.model.formula))
#delattr(fit.model, 'formula')
d.pop('list_of_fits')
d.pop('fit')
d.pop('_list_of_fits')
d.pop('_fit')

print("Pickling... Removing the 'formula' from each fit.model.\n\
You have to unpickle your object or run __setstate__(self.__dict__) to restore them.".format(d))
Expand Down

0 comments on commit bbfbee4

Please sign in to comment.