Commit 8fa531c
feat: Add SUPPORTED_DETECTION_MODES to parsers for auto-generated table (#1219)
## Summary
- PR #1209 manually added a "Supported Detection Modes" column to the
instruments table, but the table is auto-generated by `hatch run
scripts:update-instrument-table`
- This PR moves detection mode data into parser class attributes
(`SUPPORTED_DETECTION_MODES`) so the generation script produces the
column automatically
- Adds `SUPPORTED_DETECTION_MODES: str | None = None` to the
`VendorParser` base class
- Declares detection modes in all 53 parser classes (matching the values
from PR #1209)
- Updates `get_table_contents()` to render the 5th column
## Changes
- `vendor_parser.py`: New optional class attribute
- `parser_factory.py`: New `supported_detection_modes` property on
`Vendor`, updated table generation
- All 53 parser files: One-line addition of `SUPPORTED_DETECTION_MODES =
"..."` (or `None` for liquid handlers)
## Test plan
- [x] `test_table_contents` passes — generated output matches the
existing `.adoc` file
- [x] All 318 parser_factory and discover_vendor tests pass
- [x] Lint passes
🤖 Generated with [Claude Code](https://claude.com/claude-code)
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent f1ef5c6 commit 8fa531c
59 files changed
Lines changed: 98 additions & 15 deletions
File tree
- .claude/skills/parser-generator
- scripts
- scripts
- templates
- src/allotropy
- parsers
- agilent_gen5_image
- agilent_gen5
- agilent_openlab_cds
- agilent_tapestation_analysis
- appbio_absolute_q
- appbio_quantstudio_designandanalysis
- appbio_quantstudio
- bd_biosciences_facsdiva
- beckman_coulter_biomek
- beckman_echo_cherry_pick
- beckman_echo_plate_reformat
- beckman_pharmspec
- beckman_vi_cell_blu
- beckman_vi_cell_xr
- benchling_chromeleon
- benchling_empower
- biorad_bioplex_manager
- bmg_labtech_smart_control
- bmg_mars
- cfxmaestro
- chemometec_nc_view
- chemometec_nucleoview
- ctl_immunospot
- cytiva_biacore_insight
- cytiva_biacore_t200_control
- cytiva_biacore_t200_evaluation
- cytiva_unicorn
- example_weyland_yutani
- flowjo
- luminex_intelliflex
- luminex_xponent
- mabtech_apex
- methodical_mind
- moldev_softmax_pro
- msd_workbench
- novabio_flex2
- perkin_elmer_envision
- qiacuity_dpcr
- revvity_kaleido
- revvity_matrix
- roche_cedex_bioht
- roche_cedex_hires
- tecan_magellan
- thermo_fisher_genesys30
- thermo_fisher_genesys_on_board
- thermo_fisher_nanodrop_8000
- thermo_fisher_nanodrop_eight
- thermo_fisher_nanodrop_one
- thermo_fisher_qubit4
- thermo_fisher_qubit_flex
- thermo_fisher_visionlite
- thermo_skanit
- unchained_labs_lunatic_stunner
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
61 | 62 | | |
62 | 63 | | |
63 | 64 | | |
| |||
367 | 368 | | |
368 | 369 | | |
369 | 370 | | |
370 | | - | |
371 | | - | |
372 | | - | |
373 | | - | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
374 | 376 | | |
375 | 377 | | |
376 | 378 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
| 74 | + | |
| 75 | + | |
74 | 76 | | |
75 | 77 | | |
76 | 78 | | |
| |||
122 | 124 | | |
123 | 125 | | |
124 | 126 | | |
| 127 | + | |
125 | 128 | | |
126 | 129 | | |
127 | 130 | | |
| |||
196 | 199 | | |
197 | 200 | | |
198 | 201 | | |
| 202 | + | |
199 | 203 | | |
200 | 204 | | |
201 | 205 | | |
202 | | - | |
| 206 | + | |
203 | 207 | | |
204 | 208 | | |
205 | 209 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
65 | 68 | | |
66 | 69 | | |
67 | 70 | | |
| |||
84 | 87 | | |
85 | 88 | | |
86 | 89 | | |
| 90 | + | |
| 91 | + | |
87 | 92 | | |
88 | 93 | | |
89 | 94 | | |
| |||
92 | 97 | | |
93 | 98 | | |
94 | 99 | | |
| 100 | + | |
95 | 101 | | |
96 | 102 | | |
97 | 103 | | |
| |||
119 | 125 | | |
120 | 126 | | |
121 | 127 | | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
122 | 132 | | |
123 | | - | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
124 | 137 | | |
125 | 138 | | |
126 | 139 | | |
| |||
135 | 148 | | |
136 | 149 | | |
137 | 150 | | |
138 | | - | |
| 151 | + | |
139 | 152 | | |
140 | 153 | | |
141 | 154 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
210 | 214 | | |
211 | 215 | | |
212 | 216 | | |
| |||
355 | 359 | | |
356 | 360 | | |
357 | 361 | | |
358 | | - | |
| 362 | + | |
359 | 363 | | |
360 | | - | |
361 | | - | |
362 | | - | |
| 364 | + | |
363 | 365 | | |
364 | 366 | | |
365 | | - | |
| 367 | + | |
| 368 | + | |
366 | 369 | | |
367 | | - | |
| 370 | + | |
| 371 | + | |
368 | 372 | | |
369 | 373 | | |
370 | 374 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
0 commit comments