Skip to content

Add E1/2 wavecal processing for calstis >= 3.5.0#190

Merged
stscirij merged 2 commits into
spacetelescope:masterfrom
stscirij:update_wavecal
Mar 27, 2026
Merged

Add E1/2 wavecal processing for calstis >= 3.5.0#190
stscirij merged 2 commits into
spacetelescope:masterfrom
stscirij:update_wavecal

Conversation

@stscirij

Copy link
Copy Markdown
Contributor

Fix issue with wavecal name(s) not being passed when run as a script

Fix issue with wavecal name(s) not being passed when run as a script
@stscirij stscirij requested a review from a team as a code owner March 26, 2026 13:49
Comment thread stistools/wavecal.py
Comment thread stistools/wavecal.py
SH_CLOSED = 51126.0


def main(args):

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch with outroot vs inwave in main().

I'm not seeing this function actually specified in the [project.scripts] list, so I assume it only gets called directly from the if __name__ == "__main__" line at the bottom. If so, we should probably clean up these script routines in a future PR.

@stscirij stscirij merged commit 4a31145 into spacetelescope:master Mar 27, 2026
2 checks passed
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