lambdamusic / Ontospy

Python library and command-line interface for inspecting and visualizing RDF models aka ontologies.
http://lambdamusic.github.io/Ontospy/
MIT License
219 stars 52 forks source link

Add ability to turn off the output of printDebug() when calling programatically #6

Closed Tombadil closed 8 years ago

Tombadil commented 8 years ago

When initialising a graph for use programmatically, the details of the ontology are printed (by _scan() called on init). It would be great if this could be parameterised.

lambdamusic commented 8 years ago

Yap that was a bit too much to see in some cases.

I've added a flag verbose (defaults to True) which you can use when instantiating the Graph. So just set it to False and you shouldn't see those messages anymore..