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

Fix bug where data types are altered when override MTLs are empty #803

Merged
merged 5 commits into from
Aug 23, 2023

Conversation

geordie666
Copy link
Contributor

This PR fixes a bug introduced when incorporating the MTL "override" ledgers into reprocessing.

When an override ledger didn't exist, or was otherwise empty, the data types for some columns were updated to standard types for an empty numpy array. This could then conflict with the data types for an overall ledger.

The fix is to never use standardized column updates for empty override ledgers.

@coveralls
Copy link

Coverage Status

coverage: 56.291% (-0.004%) from 56.295% when pulling c337873 on ADM-fix-reproc into 3644d1b on main.

@sbailey
Copy link
Contributor

sbailey commented Aug 23, 2023

Update looks fine; thanks for sorting out photutils dependency pin for tests. OK to merge this when ready. Please open a separate ticket about the photutils dependency stuff.

@geordie666 geordie666 merged commit e3d6f42 into main Aug 23, 2023
10 checks passed
@geordie666 geordie666 deleted the ADM-fix-reproc branch August 23, 2023 17:07
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 this pull request may close these issues.

3 participants