MCPcopy Create free account
hub / github.com/EvoMap/evolver / readGenes

Function readGenes

src/webui/observer/assets.js:84–88  ·  view source on GitHub ↗
(paths)

Source from the content-addressed store, hash-verified

82}
83
84function 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
90function readCapsules(paths) {
91 const fromJson = readJsonSafe(paths.capsulesPath, { capsules: [] }).capsules || [];

Callers 3

getAssetOverviewFunction · 0.85
listGenesFunction · 0.85
getLineageFunction · 0.85

Calls 3

dedupeByIdFunction · 0.85
readJsonSafeFunction · 0.70
readJsonlFunction · 0.70

Tested by

no test coverage detected