From 09f3ad6b64e4eee56c2fdec59aa69affc52dd9bd Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sun, 22 Aug 2010 09:59:00 -0400 Subject: [PATCH] Save dtypes to YAML (now we only drop ndarrays). --- hooke/util/yaml.py | 1 - 1 file changed, 1 deletion(-) diff --git a/hooke/util/yaml.py b/hooke/util/yaml.py index 46d6e2a..b4fa7de 100644 --- 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) -- 2.26.2