Save dtypes to YAML (now we only drop ndarrays).
authorW. Trevor King <wking@drexel.edu>
Sun, 22 Aug 2010 13:59:00 +0000 (09:59 -0400)
committerW. Trevor King <wking@drexel.edu>
Sun, 22 Aug 2010 13:59:00 +0000 (09:59 -0400)
hooke/util/yaml.py

index 46d6e2a73963c7dccf3eaea22a3aadcc916556c0..b4fa7decaa9762eb16e2b6e906c013784ab18d0a 100644 (file)
@@ -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)