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-21186: Use case insensitive instrument consistency check #310

Merged
merged 1 commit into from Sep 6, 2019

Conversation

timj
Copy link
Member

@timj timj commented Sep 6, 2019

We tend to use camelCase for directory names but we want the name of the instrument in the ecsv defect files to match the name of the instrument reported by the translator and/or INSTRUME header.

It seems highly unlikely that we would think it's an error for a LATISS observation to be in a latiss directory so this change lower cases the instrument names before comparing.

This change supports lsst/obs_lsst_data#1

We tend to use camelCase for directory names but we want the
name of the instrument in the ecsv defect files to match the
name of the instrument reported by the translator and/or
INSTRUME header.

It seems highly unlikely that we would think it's an error
for a LATISS observation to be in a latiss directory so this
change lower cases the instrument names before comparing.
Copy link
Contributor

@SimonKrughoff SimonKrughoff left a comment

Choose a reason for hiding this comment

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

This is great.

@timj timj merged commit c153667 into master Sep 6, 2019
@timj timj deleted the tickets/DM-21186 branch September 6, 2019 16:39
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

2 participants