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

Restructure sncosmo.get_bandpass block in get_default_filts_lambdas #343

Merged

Conversation

bfhealy
Copy link
Collaborator

@bfhealy bfhealy commented Mar 20, 2024

Motivated by issues running on a cluster that cannot make external internet connections, this PR restructures a block that gets sncosmo filter bandpasses in get_default_filts_lambdas. The removed try/except masked informative errors raised on this cluster installation, so it is instead replaced by an if/else specifying the filters that must be loaded as AggregateBandpass rather than Bandpass objects. megacampsf filters are added to the list that previously included only ultrasat.

@bfhealy bfhealy requested a review from mcoughlin March 20, 2024 11:09
Copy link
Member

@mcoughlin mcoughlin left a comment

Choose a reason for hiding this comment

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

LGTM

@bfhealy bfhealy merged commit 0b0d245 into nuclear-multimessenger-astronomy:main Mar 20, 2024
3 of 4 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