sdss / astra

Analysis framework for SDSS-V/Milky Way Mapper
BSD 3-Clause "New" or "Revised" License
3 stars 0 forks source link

Add unique constraints on `(v_astra, spectrum_pk)` to all pipeline tables #27

Closed andycasey closed 5 days ago

andycasey commented 1 month ago

If we switch to using v_astra_major, v_astra_minor, v_astra_patch, -- which I think it should -- then we should just require constraint on v_astra_major.

andycasey commented 5 days ago

Fixed by creating a PipelineOutputModel class, which all pipelines will inherit from. The PipelineOutputModel class does the following: