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

fix assemble_fibermap for older data with SPS header #1047

Merged
merged 1 commit into from Dec 13, 2020

Conversation

sbailey
Copy link
Contributor

@sbailey sbailey commented Dec 13, 2020

Fixes a bug introduced in PR #1045 for older data which have an "SPS" instead of a "SPEC" HDU in the raw data. My penance for introducing the bug is writing unit tests that would have caught the bug in the first place. Since those tests require a substantial amount of real data, they only run at NERSC and are cleanly skipped elsewhere. i.e. Travis / GitHub Actions / Laptop tests won't catch them, but the nightly integration tests at NERSC will.

Speaking of Travis, it is so bogged down now, I plan to merge and update at NERSC so that @akremin can proceed with 20.12 / blanc testing. All tests pass on this branch at NERSC. Retroactive comments are welcome for retroactive fixes.

This fix was tested with the unit tests and the commands

assemble_fibermap -n 20200219 -e 51039 -o $SCRATCH/fibermap-51039.fits
assemble_fibermap -n 20200219 -e 55611 -o $SCRATCH/fibermap-55611.fits

@sbailey sbailey added this to In progress in Restart2020 via automation Dec 13, 2020
@sbailey sbailey merged commit ed6fe0b into master Dec 13, 2020
Restart2020 automation moved this from In progress to Done Dec 13, 2020
@sbailey sbailey deleted the assemble_fibermap branch December 13, 2020 06:12
sbailey pushed a commit that referenced this pull request Dec 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Restart2020
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

1 participant