Commit 0eacd1a
fix: Surface previously skipped columns as custom info in NovaBio Flex2 parser (#1236)
## Summary
- `Sample Time`, `PCO2 @ Temp`, `PO2 @ Temp`, and `pH @ Temp` were
incorrectly marked as `unused_keys` in the NovaBio Flex2 parser
(introduced in #1070)
- These fields are not duplicates of already-mapped ASM fields — they
were skipped by mistake during the PR review categorization
- Removed them from `unused_keys` so they now flow through to
`custom_info` in the output
- `Operator` and `Osm` remain suppressed since they are consumed
elsewhere (as `analyst` and `osmolality` respectively)
## Test plan
- [x] All 13 NovaBio Flex2 tests pass
- [x] discover_vendor tests pass
- [x] Lint clean (ruff, black, mypy)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent 5fe6a6b commit 0eacd1a
4 files changed
Lines changed: 339 additions & 223 deletions
File tree
- src/allotropy/parsers/novabio_flex2
- tests/parsers/novabio_flex2/testdata
Lines changed: 0 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | 92 | | |
97 | 93 | | |
98 | 94 | | |
| |||
Lines changed: 44 additions & 32 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
4 | 17 | | |
5 | 18 | | |
6 | 19 | | |
| |||
9 | 22 | | |
10 | 23 | | |
11 | 24 | | |
12 | | - | |
13 | 25 | | |
| 26 | + | |
14 | 27 | | |
15 | | - | |
16 | | - | |
17 | 28 | | |
18 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
19 | 32 | | |
20 | 33 | | |
21 | 34 | | |
| |||
27 | 40 | | |
28 | 41 | | |
29 | 42 | | |
30 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
31 | 46 | | |
32 | | - | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
33 | 50 | | |
34 | 51 | | |
35 | 52 | | |
| |||
104 | 121 | | |
105 | 122 | | |
106 | 123 | | |
107 | | - | |
108 | 124 | | |
| 125 | + | |
109 | 126 | | |
110 | | - | |
111 | | - | |
112 | 127 | | |
113 | | - | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
114 | 131 | | |
115 | 132 | | |
116 | 133 | | |
| |||
122 | 139 | | |
123 | 140 | | |
124 | 141 | | |
125 | | - | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
126 | 145 | | |
127 | | - | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
128 | 149 | | |
129 | 150 | | |
130 | 151 | | |
| |||
148 | 169 | | |
149 | 170 | | |
150 | 171 | | |
151 | | - | |
152 | 172 | | |
| 173 | + | |
153 | 174 | | |
154 | | - | |
155 | | - | |
156 | 175 | | |
157 | | - | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
158 | 179 | | |
159 | 180 | | |
160 | 181 | | |
| |||
166 | 187 | | |
167 | 188 | | |
168 | 189 | | |
169 | | - | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
170 | 193 | | |
171 | | - | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
172 | 197 | | |
173 | 198 | | |
174 | 199 | | |
| |||
185 | 210 | | |
186 | 211 | | |
187 | 212 | | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
| 213 | + | |
202 | 214 | | |
203 | 215 | | |
0 commit comments