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

Application error when general calibrations files are none #1358

Open
ivenzor opened this issue Jan 31, 2025 · 0 comments
Open

Application error when general calibrations files are none #1358

ivenzor opened this issue Jan 31, 2025 · 0 comments
Assignees
Labels
bug Something isn't working High-priority Critical items that should be addressed immediately release candidate Testable for release to main branch and PyPi

Comments

@ivenzor
Copy link
Contributor

ivenzor commented Jan 31, 2025

    imageData = apply_cals(imageData, generalDark, generalBias, generalFlat, i)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/exotic/exotic.py", line 916, in apply_cals
    if gen_flat.size != 0:
       ^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'size'

This was introduced in one on my changes, merged in 4.3.0

@jpl-jengelke jpl-jengelke added bug Something isn't working release candidate Testable for release to main branch and PyPi High-priority Critical items that should be addressed immediately labels Jan 31, 2025
@jpl-jengelke jpl-jengelke changed the title error when general calibrations files are none Application error when general calibrations files are none Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working High-priority Critical items that should be addressed immediately release candidate Testable for release to main branch and PyPi
Projects
None yet
Development

No branches or pull requests

2 participants