Run the test webap/test_webap.py, and put in a breakpoint before the end. Boot up an actual web browser and go look at the sources that you get on the one exposure that's been run. Notice that all the ref thumbnails are flat white. Figure out why this is wrong.
Things to think about:
when the ref cutout is saved, is it on the same zeropoint as the new and the sub? Ideally it should be. If not, we should scale it.
is background subtraction handled correctly? The webap is assuming that the ref is background subtracted; is it?
I've put in scaling of the thumbnails, so the new/ref/sub should all be scaled to the same zeropoint, but they're still coming out blank on the webap, so something else is going on.
Run the test webap/test_webap.py, and put in a breakpoint before the end. Boot up an actual web browser and go look at the sources that you get on the one exposure that's been run. Notice that all the ref thumbnails are flat white. Figure out why this is wrong.
Things to think about: