Open TWJW-SANGER opened 4 months ago
Check how long the query takes to run.
I increased the time windows in the queries to two years. I fixed the logic in sample_flowcell_view that I believe was causing missing rows. From a couple of tests, the revised sample_tracking_view would take about 15 minutes to execute.
As a SSR (Rich C) I would like the sample tracking view to show all studies that have had manifests created in the last 2 years.
Acceptance Criteria
Background The current method of looking at 'sample_manifest.updated' does not seem to capture everything expected. We would like to err on the side of displaying everything that has been started in the last 2 years.
Currently missing are the "The Little Princess" studies. Querying the stock_resource table in mlwarehouse as below shows plates and studies that are not appearing in the view.
Truncated result gives:
These plates are also visible in SequenceScape and Limber.
It's a little unclear why the existing logic does not work, it might be a bug in sequencescape or some variance in workflow. Once the number of studies shown is fixed - we will need another story to sanity check the columns drawing on the 'sample_manifest.updated' even