(paths)
| 82 | } |
| 83 | |
| 84 | function readGenes(paths) { |
| 85 | const fromJson = readJsonSafe(paths.genesPath, { genes: [] }).genes || []; |
| 86 | const fromJsonl = readJsonl(paths.genesJsonlPath).filter((g) => g && g.type === 'Gene'); |
| 87 | return dedupeById(fromJson.concat(fromJsonl)).map(redactValue); |
| 88 | } |
| 89 | |
| 90 | function readCapsules(paths) { |
| 91 | const fromJson = readJsonSafe(paths.capsulesPath, { capsules: [] }).capsules || []; |
no test coverage detected