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

ModelLibrary does not read exposure types from input models correctly #200

Closed
emolter opened this issue Oct 23, 2024 · 0 comments · Fixed by #201
Closed

ModelLibrary does not read exposure types from input models correctly #200

emolter opened this issue Oct 23, 2024 · 0 comments · Fixed by #201

Comments

@emolter
Copy link
Collaborator

emolter commented Oct 23, 2024

When AbstractModelLibrary attempts to classify input models by their exposure type, it checks for the attribute "exptype" in model.meta here. However, at least for JWST data, the schema expects the exposure type to live in model.meta.asn (see here), and this leads to failures like the one in this issue.

A few other lines in AbstractModelLibrary may also be affected, here and here.

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.

1 participant