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

Add the webap used during the stress test #298

Closed rknop closed 4 weeks ago

rknop commented 1 month ago

No tests written for the webap. (See Issue #297... pain.)

rknop commented 4 weeks ago

Mostly this code adds the webap.

The other change was I added an env var that tells the tests not to use the cache much. (It still uses it for things like json and yaml files it creates, so I didn't have to figure out where else to write them.) As predicted, it slows down the tests a lot. I also modified the tests that download things from NOIRLab not to keep those in the cache; that turned out to be enough to solve the immediate disk space problem on github, so I haven't enbabled the cache limiting env var by default.

rknop commented 4 weeks ago

(Note that the failed Model Test 1 is one of the test_free things.)

rknop commented 4 weeks ago

I've moved the cache code to util/cache.py, and edited the documentation. (Reading through the code more carefully, I realized that I didn't fully understand what the copy_list function did based on the documentation there, so I edited that as well.)