adaamko / POTATO

XAI based human-in-the-loop framework for automatic rule-learning.
MIT License
47 stars 8 forks source link

'PotatoGraph' object has no attribute 'nodes' #50

Closed parthvishah closed 2 years ago

parthvishah commented 2 years ago

Source(to_dot(dataset.graphs[0])) gives me an error: AttributeError: 'PotatoGraph' object has no attribute 'nodes' Any idea why would that be?

adaamko commented 2 years ago

Hello!

It was a typo in the README, it should be: Source(to_dot(df.iloc[0].graph))

Thank you for noticing. I corrected it

parthvishah commented 2 years ago

Awesome, thank you! This works now.