Skip to main content

Module parser

Module parser 

Source
Expand description

Genome JSON parser.

Parses FEAGI 2.1 genome JSON format into runtime data structures.

§Genome Structure (v2.1)

{
  "genome_id": "...",
  "genome_title": "...",
  "version": "2.1",
  "blueprint": {
    "cortical_id": {
      "cortical_name": "...",
      "block_boundaries": [x, y, z],
      "relative_coordinate": [x, y, z],
      "cortical_type": "IPU/OPU/CUSTOM/CORE/MEMORY",
      ...
    }
  },
  "brain_regions": {
    "root": {
      "title": "...",
      "parent_region_id": null,
      "coordinate_3d": [x, y, z],
      "areas": ["cortical_id1", ...],
      "regions": ["child_region_id1", ...]
    }
  },
  "neuron_morphologies": { ... },
  "physiology": { ... }
}

Copyright 2025 Neuraville Inc. Licensed under the Apache License, Version 2.0

Structs§

GenomeParser
Genome parser
ParsedGenome
Parsed genome data ready for ConnectomeManager
RawBrainRegion
Raw brain region from genome
RawCorticalArea
Raw cortical area from blueprint
RawGenome
Raw genome JSON structure for deserialization

Functions§

string_to_cortical_id
Convert a string cortical_id to CorticalID Handles both old 6-char format and new base64 format CRITICAL: Uses feagi-data-processing types as single source of truth for core areas