Skip to content

if clause around self.get_bar_offset because MIRI has no bar#19

Closed
aggle wants to merge 1 commit intoJarronL:developfrom
aggle:main
Closed

if clause around self.get_bar_offset because MIRI has no bar#19
aggle wants to merge 1 commit intoJarronL:developfrom
aggle:main

Conversation

@aggle
Copy link
Contributor

@aggle aggle commented Mar 25, 2025

Apologies for the missing words in the title and the mismatch with the name of the commit. I added an if/else clause around self.get_bar_offset because MIRI has no bar, and no bar offsets are defined.

@JarronL
Copy link
Owner

JarronL commented Mar 26, 2025

Made a more generalized update in latest develop version. Will push patch.

    if self.name != 'NIRCam':
        bar_offset = 0
    elif (siaf_ap.AperName != self.siaf_ap.AperName):
        ...

@JarronL JarronL closed this Mar 26, 2025
@aggle
Copy link
Contributor Author

aggle commented Mar 26, 2025

That makes more sense. Thanks!

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.

2 participants