Skip to content

Conversation

@yousefmoazzam
Copy link
Collaborator

@yousefmoazzam yousefmoazzam commented Feb 11, 2026

Fixes IMGDA-722

Depends on #683 being merged first.

Checklist

  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • I have made corresponding changes to the documentation

@yousefmoazzam yousefmoazzam force-pushed the refactor-darks-flats-config-class branch from df082e3 to 2ddbdaf Compare February 11, 2026 11:34
Base automatically changed from imgda-650 to main February 11, 2026 12:25
To represent ignoring darks/flats, any function previously taking a
value of type `DarksFlatsFileConfig` should now take an
`Optional[DarksFlatsFileConfig]`. Ie, the possibility of a `None` value
replaces the `ignore` field.

Note that not all affected functions have been updated in this change,
to split up the change between the different layers of the software.
Here, the layer at which `get_darks_flats()` is has been changed
accordingly, but layers "further out from `get_darks_flats()`" (such as
`parse_config()`) will be updated in a separate change.
@yousefmoazzam yousefmoazzam force-pushed the refactor-darks-flats-config-class branch from 2ddbdaf to ae53d74 Compare February 11, 2026 12:33
@yousefmoazzam yousefmoazzam marked this pull request as ready for review February 11, 2026 12:40
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.

1 participant