What purpose does the `isnan(darkScale)` check serve? HSC doesn't set darkTime on its darks, and we've been relying on the VisitInfo pointer being null (instead of VisitInfo being default constructed), which is breaking now that I've made calibrations be ExposureF. If the dark's darkTime is NaN, shouldn't we always use a scale of 1?
Paul Price: you originally made the commit that did this check for DM-9004; have HSC calibs always been missing this value, and if so, how did it work after that ticket?
Christopher Waters: you made the additional check of whether VisitInfo exists for DM-16467: do you recall why you made that change? It was part of a much bigger commit, so the commit message isn't helpful.
What purpose does the `isnan(darkScale)` check serve? HSC doesn't set darkTime on its darks, and we've been relying on the VisitInfo pointer being null (instead of VisitInfo being default constructed), which is breaking now that I've made calibrations be ExposureF. If the dark's darkTime is NaN, shouldn't we always use a scale of 1?
Paul Price: you originally made the commit that did this check for
DM-9004; have HSC calibs always been missing this value, and if so, how did it work after that ticket?Christopher Waters: you made the additional check of whether VisitInfo exists for
DM-16467: do you recall why you made that change? It was part of a much bigger commit, so the commit message isn't helpful.