c3-time-domain / SeeChange

A time-domain data reduction pipeline (e.g., for handling images->lightcurves) for surveys like DECam and LS4
BSD 3-Clause "New" or "Revised" License
0 stars 4 forks source link

Import Object whenever importing Measurements #266

Closed rknop closed 4 months ago

rknop commented 4 months ago

See Issue #265

I suspect this never showed up in tests because everything in tests that imported measurements also imported objects. I ran across this working on the stress test. I didn't import either, but then had a crash when there was an sqlalchemy query somewhere in there because a sqlalchemy construct in Measurements referenced Object, but Object had never been imported.