dfo-mar-odis / dart

DFO At-sea Reporting Template, collect Elog, CTD and sample data at sea to produce reports then upload to BioChem at the end of the mission
3 stars 1 forks source link

BioChemUpload/BCS #159

Open upsonp opened 2 weeks ago

upsonp commented 2 weeks ago

Related to issue #158

When uploading to BioChem Mission, Event and Bottles are complied to create the BioChemStatnEdits (BCS) table.

For the most part, the upload.get_bcs_d_rows() function handles this pretty well, but it runs every single time the user wants to upload a sample type. It doesn't have to. It only needs to upload when something about the mission, events or bottles change.

Think of a way to figure out if/when we need to check the BCS table to see if updates are needed.