-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Several assumptions within ingestCalibs were specific to obs_decam (esp. the use of the hard-coded "ccdnum" data identifier keyword). Made these assumptions configurable. This also involved updating the validity range calculations, which have been moved to a common place (fixSubsetValidity) instead of being in two places (IngestCalibsTask.run and fixSubsetValidity) and requiring users to set validStart and validEnd to dummy values. In the process, updated SQL to use placeholders instead of stringified values to proactively prevent escaping problems (similar to SQL injection).
- Loading branch information
Showing
1 changed file
with
56 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters