Closed drusepth closed 7 years ago
I am not sure whether this is still a valid open issue.I just did the below workaround to overcome this . @drusepth @louismullie @dalton
1.Wrote a python gist to convert pickle to yaml
import pickle from sys import argv import yaml import os scores = {} # scores is an empty dict already if os.path.getsize(argv[1]) > 0:
with open(argv[1], "rb") as f: unpickler = pickle.Unpickler(f)if file is not empty scores will be equal
to the value unpickled
scores = unpickler.load() print(yaml.dump(scores))
Also includes whitespace stripping. Using
?w=1
in the PR URL will omit whitespace-only changes.