projects
/
hooke.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
838af47
)
Save dtypes to YAML (now we only drop ndarrays).
author
W. Trevor King
<wking@drexel.edu>
Sun, 22 Aug 2010 13:59:00 +0000
(09:59 -0400)
committer
W. Trevor King
<wking@drexel.edu>
Sun, 22 Aug 2010 13:59:00 +0000
(09:59 -0400)
hooke/util/yaml.py
patch
|
blob
|
history
diff --git
a/hooke/util/yaml.py
b/hooke/util/yaml.py
index 46d6e2a73963c7dccf3eaea22a3aadcc916556c0..b4fa7decaa9762eb16e2b6e906c013784ab18d0a 100644
(file)
--- a/
hooke/util/yaml.py
+++ b/
hooke/util/yaml.py
@@
-99,7
+99,6
@@
else:
def none_representer(dumper, data):
return dumper.represent_none(None)
yaml.add_representer(numpy.ndarray, none_representer)
-yaml.add_representer(numpy.dtype, none_representer)
def bool_representer(dumper, data):
return dumper.represent_bool(data)