Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generated bubble graph do not validate with bubbletools #2

Open
mariesosa opened this issue Aug 22, 2022 · 1 comment
Open

Generated bubble graph do not validate with bubbletools #2

mariesosa opened this issue Aug 22, 2022 · 1 comment

Comments

@mariesosa
Copy link

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
@Aluriak
Copy link
Owner

Aluriak commented Aug 23, 2022

Hum, curious. Thanks for reporting this :)
I will check on it in few days.

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

No branches or pull requests

2 participants