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

do not assume that input tile file includes all of DARK, BRIGHT, and GRAY tiles #83

Merged
merged 4 commits into from
Jun 7, 2018

Conversation

moustakas
Copy link
Member

The changes in this simple PR are to accommodate the SV Data Challenge.

surveyinit currently assumes that the tile file includes a mixture of DARK, BRIGHT, and GRAY tiles, and crashed when I gave it a minimal tile file with just DARK tiles, and so I added a simple if statement to check.

The second change (to surveymovie) was to use uppercase column names when grabbing data from the exposures.fits file (which perhaps was standardized elsewhere / previously?).

@dkirkby
Copy link
Member

dkirkby commented Jun 6, 2018

I wouldn't be surprised if something else breaks with only DARK tiles (which will be good to know), but this is already an improvement so go ahead and merge when convenient.

@moustakas moustakas merged commit 68d6ed1 into master Jun 7, 2018
@moustakas moustakas deleted the sv-bgs branch June 7, 2018 01:14
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