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

RasterModel.parse() should accept also DataTree. #847

Open
LucaMarconato opened this issue Jan 26, 2025 · 0 comments
Open

RasterModel.parse() should accept also DataTree. #847

LucaMarconato opened this issue Jan 26, 2025 · 0 comments

Comments

@LucaMarconato
Copy link
Member

The 4 subclasses of RasterModel.parse() 2D/3D images/labels, accept DataArray as arguments, but do not accept DataTree. For consistency we should add this option.

Until this is added, the recommended usage is to manually construct a DataTree and call .validate() on the appropriate model.

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

No branches or pull requests

1 participant