Skip to content

Application error when general calibrations files are none #1358

Open
@ivenzor

Description

@ivenzor
    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

Metadata

Metadata

Assignees

Labels

High-priorityCritical items that should be addressed immediatelybugSomething isn't workingrelease candidateTestable for release to main branch and PyPi

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions