Skip to content

Commit 9d7cf55

Browse files
committed
Changed data source feature values
1 parent 5437d3d commit 9d7cf55

4 files changed

Lines changed: 150 additions & 144 deletions

File tree

src/allotropy/parsers/qiacuity_dpcr/constants.py

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,20 @@ class CalculatedDataConfig:
1010

1111

1212
CONFIGS: list[CalculatedDataConfig] = [
13-
CalculatedDataConfig(name="CI (95%)", key="CI (95%)", unit="#/μL"),
14-
CalculatedDataConfig(name="SD", key="SD", unit="(unitless)"),
15-
CalculatedDataConfig(name="CV%", key="CV%", unit="%"),
13+
CalculatedDataConfig(
14+
name="CI (95%)", key="CI (95%)", unit="%", feature="Positive Partition Count"
15+
),
16+
CalculatedDataConfig(
17+
name="SD", key="SD", unit="(unitless)", feature="Number Concentration (#/μL)"
18+
),
19+
CalculatedDataConfig(
20+
name="CV%", key="CV%", unit="%", feature="Number Concentration (#/μL)"
21+
),
1622
CalculatedDataConfig(
1723
name="Mean Concentration",
1824
key="Mean conc. [copies/μL]",
1925
unit="#/μL",
20-
feature="Mean Concentration",
26+
feature="Mean Concentration (#/μL)",
2127
),
2228
]
2329

tests/parsers/qiacuity_dpcr/testdata/qiacuity_dpcr_example01.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -333,14 +333,14 @@
333333
"data source document": [
334334
{
335335
"data source identifier": "QIACUITY_DPCR_TEST_ID_0",
336-
"data source feature": "CI (95%)"
336+
"data source feature": "Positive Partition Count"
337337
}
338338
]
339339
},
340340
"calculated data name": "CI (95%)",
341341
"calculated datum": {
342342
"value": 4.6,
343-
"unit": "#/μL"
343+
"unit": "%"
344344
}
345345
},
346346
{
@@ -349,14 +349,14 @@
349349
"data source document": [
350350
{
351351
"data source identifier": "QIACUITY_DPCR_TEST_ID_1",
352-
"data source feature": "CI (95%)"
352+
"data source feature": "Positive Partition Count"
353353
}
354354
]
355355
},
356356
"calculated data name": "CI (95%)",
357357
"calculated datum": {
358358
"value": 15.2,
359-
"unit": "#/μL"
359+
"unit": "%"
360360
}
361361
},
362362
{
@@ -365,14 +365,14 @@
365365
"data source document": [
366366
{
367367
"data source identifier": "QIACUITY_DPCR_TEST_ID_2",
368-
"data source feature": "CI (95%)"
368+
"data source feature": "Positive Partition Count"
369369
}
370370
]
371371
},
372372
"calculated data name": "CI (95%)",
373373
"calculated datum": {
374374
"value": 10.3,
375-
"unit": "#/μL"
375+
"unit": "%"
376376
}
377377
},
378378
{
@@ -381,14 +381,14 @@
381381
"data source document": [
382382
{
383383
"data source identifier": "QIACUITY_DPCR_TEST_ID_3",
384-
"data source feature": "CI (95%)"
384+
"data source feature": "Positive Partition Count"
385385
}
386386
]
387387
},
388388
"calculated data name": "CI (95%)",
389389
"calculated datum": {
390390
"value": 4.2,
391-
"unit": "#/μL"
391+
"unit": "%"
392392
}
393393
},
394394
{
@@ -397,14 +397,14 @@
397397
"data source document": [
398398
{
399399
"data source identifier": "QIACUITY_DPCR_TEST_ID_4",
400-
"data source feature": "CI (95%)"
400+
"data source feature": "Positive Partition Count"
401401
}
402402
]
403403
},
404404
"calculated data name": "CI (95%)",
405405
"calculated datum": {
406406
"value": 3.3,
407-
"unit": "#/μL"
407+
"unit": "%"
408408
}
409409
},
410410
{
@@ -413,14 +413,14 @@
413413
"data source document": [
414414
{
415415
"data source identifier": "QIACUITY_DPCR_TEST_ID_5",
416-
"data source feature": "CI (95%)"
416+
"data source feature": "Positive Partition Count"
417417
}
418418
]
419419
},
420420
"calculated data name": "CI (95%)",
421421
"calculated datum": {
422422
"value": 6.6,
423-
"unit": "#/μL"
423+
"unit": "%"
424424
}
425425
}
426426
]

tests/parsers/qiacuity_dpcr/testdata/qiacuity_dpcr_example02.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -333,14 +333,14 @@
333333
"data source document": [
334334
{
335335
"data source identifier": "QIACUITY_DPCR_TEST_ID_0",
336-
"data source feature": "CI (95%)"
336+
"data source feature": "Positive Partition Count"
337337
}
338338
]
339339
},
340340
"calculated data name": "CI (95%)",
341341
"calculated datum": {
342342
"value": 4.6,
343-
"unit": "#/μL"
343+
"unit": "%"
344344
}
345345
},
346346
{
@@ -349,14 +349,14 @@
349349
"data source document": [
350350
{
351351
"data source identifier": "QIACUITY_DPCR_TEST_ID_1",
352-
"data source feature": "CI (95%)"
352+
"data source feature": "Positive Partition Count"
353353
}
354354
]
355355
},
356356
"calculated data name": "CI (95%)",
357357
"calculated datum": {
358358
"value": 15.2,
359-
"unit": "#/μL"
359+
"unit": "%"
360360
}
361361
},
362362
{
@@ -365,14 +365,14 @@
365365
"data source document": [
366366
{
367367
"data source identifier": "QIACUITY_DPCR_TEST_ID_2",
368-
"data source feature": "CI (95%)"
368+
"data source feature": "Positive Partition Count"
369369
}
370370
]
371371
},
372372
"calculated data name": "CI (95%)",
373373
"calculated datum": {
374374
"value": 10.3,
375-
"unit": "#/μL"
375+
"unit": "%"
376376
}
377377
},
378378
{
@@ -381,14 +381,14 @@
381381
"data source document": [
382382
{
383383
"data source identifier": "QIACUITY_DPCR_TEST_ID_3",
384-
"data source feature": "CI (95%)"
384+
"data source feature": "Positive Partition Count"
385385
}
386386
]
387387
},
388388
"calculated data name": "CI (95%)",
389389
"calculated datum": {
390390
"value": 4.2,
391-
"unit": "#/μL"
391+
"unit": "%"
392392
}
393393
},
394394
{
@@ -397,14 +397,14 @@
397397
"data source document": [
398398
{
399399
"data source identifier": "QIACUITY_DPCR_TEST_ID_4",
400-
"data source feature": "CI (95%)"
400+
"data source feature": "Positive Partition Count"
401401
}
402402
]
403403
},
404404
"calculated data name": "CI (95%)",
405405
"calculated datum": {
406406
"value": 3.3,
407-
"unit": "#/μL"
407+
"unit": "%"
408408
}
409409
},
410410
{
@@ -413,14 +413,14 @@
413413
"data source document": [
414414
{
415415
"data source identifier": "QIACUITY_DPCR_TEST_ID_5",
416-
"data source feature": "CI (95%)"
416+
"data source feature": "Positive Partition Count"
417417
}
418418
]
419419
},
420420
"calculated data name": "CI (95%)",
421421
"calculated datum": {
422422
"value": 6.6,
423-
"unit": "#/μL"
423+
"unit": "%"
424424
}
425425
}
426426
]

0 commit comments

Comments
 (0)