torchcell.knowledge_graphs.incremental_import.incremental_node_header
- incremental_node_header(columns: list[str], label: str) list[str][source]
Rewrite a BioCypher node header for incremental import.
:IDbecomesid:ID{label:Entity}(the id is stored as propertyidand matched through the globalEntity.iduniqueness constraint;labelnames the file only for error messages), and the separateidcolumn becomesid:IGNOREso the property is not declared twice.