You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
mkconcore exits 0 and writes an empty study when the GraphML has no nodes #700
Running mkconcore on a GraphML with no nodes (an empty graph, or a file that is not GraphML at all) prints the normal progress messages, writes empty iport/oport files and exits with code 0.
Repro:
printf 'not xml' > bad.graphml
mkdir src
python3 mkconcore.py bad.graphml src out posix
echo $? # prints 0
This is what hid #666 (BOM read as 0 nodes), so a build looked successful but produced empty scripts. Proposal: print "No nodes found in " and exit 1. I have a fix with a test ready and will open a PR for it.
Activity