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-21452: Deal with undefined values in ingest #317

Merged
merged 3 commits into from Oct 3, 2019
Merged

Conversation

PaulPrice
Copy link
Contributor

No description provided.

Copy link
Member

@timj timj left a comment

Choose a reason for hiding this comment

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

Looks good to me.

PropertySet/PropertyList now handles undefined values in the
FITS headers, but the ingest script treats them as None and
blows up. Handle these cases explicitly.
raise(Exception) raises the class 'Exception', which can't
be the intention. If the intention was to allow the exception
to propagate, then removing the catch completely does that.
The filter isn't set in the files we're ingesting, so to
prevent a None value we need to provide a default. We can't
simply remove the filter from the required columns because
ingestCalibs assumes that the schema for defects and other
calibs are the same.
@PaulPrice PaulPrice merged commit 9ba9e41 into master Oct 3, 2019
SimonKrughoff added a commit that referenced this pull request Nov 8, 2019
SimonKrughoff added a commit that referenced this pull request Nov 8, 2019
SimonKrughoff added a commit that referenced this pull request Nov 8, 2019
SimonKrughoff added a commit that referenced this pull request Nov 20, 2019
SimonKrughoff added a commit that referenced this pull request Nov 25, 2019
@timj timj deleted the tickets/DM-21452 branch February 18, 2021 15:49
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.

None yet

3 participants