Skip to content

Commit

Permalink
Merge branch 'LLNL:develop' into timeseries
Browse files Browse the repository at this point in the history
  • Loading branch information
dyokelson authored Sep 4, 2024
2 parents be3eb47 + 29197ea commit db3ac0f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions thicket/thicket.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,10 @@ def from_pickle(filename, **kwargs):

def to_pickle(self, filename, **kwargs):
"""Write a Thicket to a pickle file."""

# Clear out statsframe to ensure thicket obj is serializable
self.statsframe_ops_cache = {}

pickle.dump(self, open(filename, "wb"), **kwargs)

@staticmethod
Expand Down

0 comments on commit db3ac0f

Please sign in to comment.