Skip to content

Commit 968e30a

Browse files
committed
fixed loading a session from pickle changing the file
1 parent fc37e70 commit 968e30a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

larray/inout/pickle.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ def _read_metadata(self):
5454
def _dump_metadata(self, metadata):
5555
self.data['__metadata__'] = metadata
5656

57-
def close(self):
57+
def save(self):
5858
with open(self.fname, 'wb') as f:
5959
pickle.dump(self.data, f)
60+
61+
def close(self):
62+
pass

0 commit comments

Comments
 (0)