Skip to content

mkconcore: exit with an error when the GraphML contains no nodes - #701

Merged
pradeeban merged 1 commit into
ControlCore-Project:devfrom
yadavchiragg:fix/mkconcore-no-nodes
Nov 27, 2026
Merged

pradeeban merged 1 commit into
ControlCore-Project:devfrom
yadavchiragg:fix/mkconcore-no-nodes

Conversation

@yadavchiragg

Copy link
Copy Markdown

Fixes #700

mkconcore previously exited 0 and wrote an empty study when no nodes were found (empty graph, or a file that is not GraphML). It now logs "No nodes found in " and exits 1.

Added tests/test_mkconcore_no_nodes.py (empty graph and non-XML input); both cases fail without the change. No sample .graphml in the repo has zero nodes.

@pradeeban
pradeeban merged commit c49fbc2 into ControlCore-Project:dev Nov 27, 2026
11 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants