diff --git a/changes/fix_dv200.md b/changes/fix_dv200.md new file mode 100644 index 0000000..6d6c38d --- /dev/null +++ b/changes/fix_dv200.md @@ -0,0 +1 @@ +DV200 library metric values were not being displayed diff --git a/pom.xml b/pom.xml index c4af707..b761f99 100644 --- a/pom.xml +++ b/pom.xml @@ -138,7 +138,7 @@ ca.on.oicr.gsi.cardea cardea-data - 1.13.0 + 1.14.0 diff --git a/ts/data/sample.ts b/ts/data/sample.ts index e761c07..852d56c 100644 --- a/ts/data/sample.ts +++ b/ts/data/sample.ts @@ -72,6 +72,7 @@ export interface Sample extends Qcable { nucleicAcidType?: string; librarySize?: number; libraryDesignCode?: string; + dv200?: number; targetedSequencing?: string; createdDate: string; volume?: number; @@ -1125,6 +1126,8 @@ function getMetricValue(metricName: string, sample: Sample): number | null { nullOrUndefined(sample.concentration) ? null : sample.volume * sample.concentration; + case "DV200": + return nullIfUndefined(sample.dv200); case "Mean Insert Size": return nullIfUndefined(sample.meanInsertSize); case "Median Insert Size":