[MRD] updates and nicer plotting

This commit is contained in:
Max Zwiessele 2014-11-12 15:08:38 +00:00
parent 74b95d1b69
commit 3c642a5600
6 changed files with 26 additions and 8 deletions

View file

@ -39,6 +39,11 @@ def load(file_path):
:param file_name: path/to/file.pickle
"""
import cPickle as pickle
with open(file_path, 'rb') as f:
m = pickle.load(f)
try:
with open(file_path, 'rb') as f:
m = pickle.load(f)
except:
import pickle as pickle
with open(file_path, 'rb') as f:
m = pickle.load(f)
return m