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 46d6e2a..b4fa7de 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)