Skip to content

Commit

Permalink
revert small change
Browse files Browse the repository at this point in the history
  • Loading branch information
ViciousEagle03 committed May 22, 2024
1 parent b62ac94 commit e2928ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ndcube/asdf/converters/ndcube_converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ def from_yaml_tree(self, node, tag, ctx):

def to_yaml_tree(self, ndcube, tag, ctx):
node = {}
node["data"] =np.array(ndcube.data)
node["data"] =np.asarray(ndcube.data)
node["wcs"] = ndcube.wcs
return node

0 comments on commit e2928ea

Please sign in to comment.