Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

transform.name does not roundtrip #60

Closed
nden opened this issue Feb 10, 2015 · 1 comment · Fixed by #61
Closed

transform.name does not roundtrip #60

nden opened this issue Feb 10, 2015 · 1 comment · Fixed by #61

Comments

@nden
Copy link
Contributor

nden commented Feb 10, 2015

This demonstrates the problem:

rot=models.Rotation2D(23, name='rotation')
fa=AsdfFile()
fa.tree={'r': rot}
fa.write_to('rot.asdf')
frot=AsdfFile.read('todel.asdf')
frot.tree['r'].name is None
Out[38]: True

name is already part of the basic transform schema. Is there a way to add this to the general transform to_tree method instead of adding it to every subclass of TransformType?

@mdboom
Copy link
Contributor

mdboom commented Feb 10, 2015

See #61.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants