We no longer populate the Screening.shortComments with 'EDNA Strategy 1', instead we just use 'Strategy 1'. Using the program version is more generic for getting any EDNA strategy, or use 'Strategy%' when comparing EDNA strategies.
Changes:
Use programVersion instead of shortComments to search for EDNA results
Fix accessing pipeline stats
Search for 'Strategy%' instead of 'EDNA%' in pipeline stats, which has been used since 2018.
To test:
Go to a container with samples that have been screened, eg /containers/cid/301095, inspect the GET to /api/sample, check that some of the samples have non-null values for SCRESOLUTION and SCCOMPLETENESS
Go to Stats, then Pipeline Stats (this should take you to /statistics/pl). Check some average processing times appear for the last few years, for different strategies.
JIRA ticket: LIMS-1240
Summary:
We no longer populate the Screening.shortComments with 'EDNA Strategy 1', instead we just use 'Strategy 1'. Using the program version is more generic for getting any EDNA strategy, or use 'Strategy%' when comparing EDNA strategies.
Changes:
To test: