Skip to content

Commit 9eebab1

Browse files
committed
Added get_unread info
1 parent d85aee2 commit 9eebab1

5 files changed

Lines changed: 421 additions & 4 deletions

File tree

src/allotropy/parsers/beckman_vi_cell_blu/vi_cell_blu_structure.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ def create_measurement_group(data: SeriesData) -> MeasurementGroup:
5353
average_viable_cell_circularity=data.get(
5454
float, "Average viable circularity"
5555
),
56+
custom_info=data.get_unread(),
5657
)
5758
],
5859
)

tests/parsers/beckman_vi_cell_blu/testdata/Beckman_Vi-Cell-BLU_different_mu_character.json

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,22 @@
7575
},
7676
"sample document": {
7777
"sample identifier": "CLB001"
78+
},
79+
"custom information document": {
80+
"Viable spot area (%)": 5.0,
81+
"Bubble count": 0.0,
82+
"Cluster count": 0.0,
83+
"Images for analysis": 100.0,
84+
"Cell sharpness": 7.0,
85+
"Wash": "Normal Wash",
86+
"Decluster degree": "Medium",
87+
"Minimum circularity": 0.1,
88+
"Viable spot brightness (%)": 50.0,
89+
"Mixing cycles": 3.0,
90+
"Aspiration cycles": 3.0,
91+
"Average cells per image": 21.0,
92+
"Average background intensity": 134.0,
93+
"Images": 100.0
7894
}
7995
}
8096
]
@@ -88,7 +104,7 @@
88104
"file name": "Beckman_Vi-Cell-BLU_different_mu_character.csv",
89105
"UNC path": "tests/parsers/beckman_vi_cell_blu/testdata/Beckman_Vi-Cell-BLU_different_mu_character.csv",
90106
"ASM converter name": "allotropy_beckman_coulter_vi_cell_blu",
91-
"ASM converter version": "0.1.69",
107+
"ASM converter version": "0.1.94",
92108
"software name": "Vi-Cell BLU"
93109
},
94110
"device system document": {

tests/parsers/beckman_vi_cell_blu/testdata/Beckman_Vi-Cell-BLU_example01.json

Lines changed: 161 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,22 @@
7575
},
7676
"sample document": {
7777
"sample identifier": "CLB001"
78+
},
79+
"custom information document": {
80+
"Viable spot area (%)": 5.0,
81+
"Cluster count": 0.0,
82+
"Minimum circularity": 0.1,
83+
"Cell sharpness": 7.0,
84+
"Images": 100.0,
85+
"Bubble count": 0.0,
86+
"Average background intensity": 134.0,
87+
"Wash": "Normal Wash",
88+
"Average cells per image": 21.0,
89+
"Mixing cycles": 3.0,
90+
"Aspiration cycles": 3.0,
91+
"Decluster degree": "Medium",
92+
"Viable spot brightness (%)": 50.0,
93+
"Images for analysis": 100.0
7894
}
7995
}
8096
]
@@ -154,6 +170,22 @@
154170
},
155171
"sample document": {
156172
"sample identifier": "CLB002"
173+
},
174+
"custom information document": {
175+
"Viable spot area (%)": 5.0,
176+
"Cluster count": 0.0,
177+
"Minimum circularity": 0.1,
178+
"Cell sharpness": 7.0,
179+
"Images": 100.0,
180+
"Bubble count": 0.0,
181+
"Average background intensity": 135.0,
182+
"Wash": "Normal Wash",
183+
"Average cells per image": 76.0,
184+
"Mixing cycles": 3.0,
185+
"Aspiration cycles": 3.0,
186+
"Decluster degree": "Medium",
187+
"Viable spot brightness (%)": 50.0,
188+
"Images for analysis": 100.0
157189
}
158190
}
159191
]
@@ -233,6 +265,22 @@
233265
},
234266
"sample document": {
235267
"sample identifier": "CLB003"
268+
},
269+
"custom information document": {
270+
"Viable spot area (%)": 5.0,
271+
"Cluster count": 0.0,
272+
"Minimum circularity": 0.1,
273+
"Cell sharpness": 7.0,
274+
"Images": 100.0,
275+
"Bubble count": 0.0,
276+
"Average background intensity": 134.0,
277+
"Wash": "Normal Wash",
278+
"Average cells per image": 15.0,
279+
"Mixing cycles": 3.0,
280+
"Aspiration cycles": 3.0,
281+
"Decluster degree": "Medium",
282+
"Viable spot brightness (%)": 50.0,
283+
"Images for analysis": 100.0
236284
}
237285
}
238286
]
@@ -312,6 +360,22 @@
312360
},
313361
"sample document": {
314362
"sample identifier": "CLB005"
363+
},
364+
"custom information document": {
365+
"Viable spot area (%)": 5.0,
366+
"Cluster count": 0.0,
367+
"Minimum circularity": 0.1,
368+
"Cell sharpness": 7.0,
369+
"Images": 100.0,
370+
"Bubble count": 0.0,
371+
"Average background intensity": 134.0,
372+
"Wash": "Normal Wash",
373+
"Average cells per image": 31.0,
374+
"Mixing cycles": 3.0,
375+
"Aspiration cycles": 3.0,
376+
"Decluster degree": "Medium",
377+
"Viable spot brightness (%)": 50.0,
378+
"Images for analysis": 100.0
315379
}
316380
}
317381
]
@@ -391,6 +455,22 @@
391455
},
392456
"sample document": {
393457
"sample identifier": "CLB006"
458+
},
459+
"custom information document": {
460+
"Viable spot area (%)": 5.0,
461+
"Cluster count": 0.0,
462+
"Minimum circularity": 0.1,
463+
"Cell sharpness": 7.0,
464+
"Images": 100.0,
465+
"Bubble count": 0.0,
466+
"Average background intensity": 134.0,
467+
"Wash": "Normal Wash",
468+
"Average cells per image": 24.0,
469+
"Mixing cycles": 3.0,
470+
"Aspiration cycles": 3.0,
471+
"Decluster degree": "Medium",
472+
"Viable spot brightness (%)": 50.0,
473+
"Images for analysis": 100.0
394474
}
395475
}
396476
]
@@ -470,6 +550,22 @@
470550
},
471551
"sample document": {
472552
"sample identifier": "CLB007"
553+
},
554+
"custom information document": {
555+
"Viable spot area (%)": 5.0,
556+
"Cluster count": 0.0,
557+
"Minimum circularity": 0.1,
558+
"Cell sharpness": 7.0,
559+
"Images": 100.0,
560+
"Bubble count": 0.0,
561+
"Average background intensity": 134.0,
562+
"Wash": "Normal Wash",
563+
"Average cells per image": 29.0,
564+
"Mixing cycles": 3.0,
565+
"Aspiration cycles": 3.0,
566+
"Decluster degree": "Medium",
567+
"Viable spot brightness (%)": 50.0,
568+
"Images for analysis": 100.0
473569
}
474570
}
475571
]
@@ -541,6 +637,22 @@
541637
},
542638
"sample document": {
543639
"sample identifier": "CLB008"
640+
},
641+
"custom information document": {
642+
"Viable spot area (%)": 5.0,
643+
"Cluster count": 4.0,
644+
"Minimum circularity": 0.1,
645+
"Cell sharpness": 7.0,
646+
"Images": 100.0,
647+
"Bubble count": 0.0,
648+
"Average background intensity": 134.0,
649+
"Wash": "Normal Wash",
650+
"Average cells per image": 70.0,
651+
"Mixing cycles": 3.0,
652+
"Aspiration cycles": 3.0,
653+
"Decluster degree": "Medium",
654+
"Viable spot brightness (%)": 50.0,
655+
"Images for analysis": 100.0
544656
}
545657
}
546658
]
@@ -620,6 +732,22 @@
620732
},
621733
"sample document": {
622734
"sample identifier": "CLB009"
735+
},
736+
"custom information document": {
737+
"Viable spot area (%)": 5.0,
738+
"Cluster count": 0.0,
739+
"Minimum circularity": 0.1,
740+
"Cell sharpness": 7.0,
741+
"Images": 100.0,
742+
"Bubble count": 0.0,
743+
"Average background intensity": 135.0,
744+
"Wash": "Normal Wash",
745+
"Average cells per image": 52.0,
746+
"Mixing cycles": 3.0,
747+
"Aspiration cycles": 3.0,
748+
"Decluster degree": "Medium",
749+
"Viable spot brightness (%)": 50.0,
750+
"Images for analysis": 100.0
623751
}
624752
}
625753
]
@@ -699,6 +827,22 @@
699827
},
700828
"sample document": {
701829
"sample identifier": "CLB010"
830+
},
831+
"custom information document": {
832+
"Viable spot area (%)": 5.0,
833+
"Cluster count": 24.0,
834+
"Minimum circularity": 0.1,
835+
"Cell sharpness": 7.0,
836+
"Images": 100.0,
837+
"Bubble count": 0.0,
838+
"Average background intensity": 134.0,
839+
"Wash": "Normal Wash",
840+
"Average cells per image": 113.0,
841+
"Mixing cycles": 3.0,
842+
"Aspiration cycles": 3.0,
843+
"Decluster degree": "Medium",
844+
"Viable spot brightness (%)": 50.0,
845+
"Images for analysis": 100.0
702846
}
703847
}
704848
]
@@ -778,6 +922,22 @@
778922
},
779923
"sample document": {
780924
"sample identifier": "CLB011"
925+
},
926+
"custom information document": {
927+
"Viable spot area (%)": 5.0,
928+
"Cluster count": 7.0,
929+
"Minimum circularity": 0.1,
930+
"Cell sharpness": 7.0,
931+
"Images": 100.0,
932+
"Bubble count": 0.0,
933+
"Average background intensity": 135.0,
934+
"Wash": "Normal Wash",
935+
"Average cells per image": 97.0,
936+
"Mixing cycles": 3.0,
937+
"Aspiration cycles": 3.0,
938+
"Decluster degree": "Medium",
939+
"Viable spot brightness (%)": 50.0,
940+
"Images for analysis": 100.0
781941
}
782942
}
783943
]
@@ -791,7 +951,7 @@
791951
"file name": "Beckman_Vi-Cell-BLU_example01.csv",
792952
"UNC path": "tests/parsers/beckman_vi_cell_blu/testdata/Beckman_Vi-Cell-BLU_example01.csv",
793953
"ASM converter name": "allotropy_beckman_coulter_vi_cell_blu",
794-
"ASM converter version": "0.1.69",
954+
"ASM converter version": "0.1.94",
795955
"software name": "Vi-Cell BLU"
796956
},
797957
"device system document": {

0 commit comments

Comments
 (0)