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

DM-46486: added check for units of flux field #388

Merged
merged 1 commit into from
Sep 24, 2024
Merged

Conversation

psferguson
Copy link
Contributor

@psferguson psferguson commented Sep 24, 2024

Moved version check to later and only conduct version check if fluxField has no units or incorrect units

@psferguson psferguson requested a review from erykoff September 24, 2024 21:56
@@ -715,6 +711,13 @@ class which intersect or are contained within the specified region. The
expandedCat = expandedCat.copy(deep=True)

fluxField = getRefFluxField(expandedCat.schema, filterName)

if expandedCat.schema[fluxField].asField().getUnits() != 'nJy':
Copy link
Contributor

Choose a reason for hiding this comment

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

This should be double quotes for consistency.

@psferguson psferguson changed the title added check for units of flux field DM-46486: added check for units of flux field Sep 24, 2024
@psferguson psferguson merged commit ebc1f9d into main Sep 24, 2024
2 checks passed
@psferguson psferguson deleted the tickets/DM-46486 branch September 24, 2024 23:57
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