I generated a bubble graph with:
import powergrasp
with open("graph.bbl", "w") as fd:
for line in powergrasp.compress_by_cc("graph.gml"):
fd.write(line + '\n')
Then, I wanted to check if it generated a correct bubble file with bubbletools:
from bubbletools import validate
for log in validate(open("graph.bbl", "r"), profiling=True):
print(log)
I got the following error:
ValueError: Input line "# CONNECTED COMPONENT 1
" is not bubble formatted
I generated a bubble graph with:
Then, I wanted to check if it generated a correct bubble file with bubbletools:
I got the following error: