diff --git a/asdf/core/_converters/integer.py b/asdf/core/_converters/integer.py index 9ca5966c7..61ddf882d 100644 --- a/asdf/core/_converters/integer.py +++ b/asdf/core/_converters/integer.py @@ -24,7 +24,7 @@ def to_yaml_tree(self, obj, tag, ctx): array = np.array(words, dtype=np.uint32) tree = {} - ctx._blocks._set_array_storage(array, obj._storage) + ctx.set_array_storage(array, obj._storage) tree["words"] = array tree["sign"] = obj._sign tree["string"] = str(int(obj._value))