Repository navigation
Derived boundary edges go to boundary_edges.csv; add containment_structure.csv (deltasignal specs/044) - #104
Merged
Merged
Conversation
…cture.csv (deltasignal specs/044) logic_network.csv now holds only what curators curated. The edges the generator derives from complex/set structure at root inputs and terminal outputs (assembly, dissociation, composition) are tagged where they are emitted and written to boundary_edges.csv, same columns. Generation itself is unchanged: every export still sees the full network. containment_structure.csv is Reactome's structure one level at a time: parent, parent type, child, relation (component / member / candidate) and stoichiometry. containment.csv flattens to leaves and cannot tell a required subunit from one alternative of a set (code review F7). Verified: GPVI, NODAL and RAF regenerated from this branch; the union of the two files equals build 20260928-1110_06ccb63's logic_network.csv edge for edge by stable id; logic_network.csv has no assembly/dissociation edges. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
logic_network.csvnow holds only what curators curated. The edges the boundary pass derives from complex and set structure are tagged where they are emitted and written toboundary_edges.csv, with the same columns:assembly,dissociation, andcompositionwhen that switch is on. The edges are not recognised byedge_type, because specs/036's capped pools also useassembly. Generation itself is unchanged.containment_structure.csvis Reactome's structure one level at a time: parent, parent type, child, relation (component/member/candidate) and stoichiometry.containment.csvflattens to leaves, so it cannot tell a required subunit from one alternative of a set (code review F7).Merge after reactome/deltasignal
feat/044-boundary-edges, which teaches DeltaSignal to read the new file.Verified:
20260928-1110_06ccb63'slogic_network.csv, edge for edge by stable id.logic_network.csvhas no assembly or dissociation edges.Tests:
tests/test_boundary_edges_file.py(the tagging, the split, and a misaligned mask failing). 342 passed.Still in
logic_network.csv, though also inferred:depletionedges and set-pool nodes. Moving those is a separate decision.🤖 Generated with Claude Code