lambdamusic / Ontospy

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

more intelligent handling of output folder #60

Open VladimirAlexiev opened 6 years ago

VladimirAlexiev commented 6 years ago

If there's something in the output folder, it causes this error:

PermissionError: [WinError 5] Access is denied: 'ontology'

Then it deletes the folder (not just folder contents), which is:

I'd suggest it should create the folder if missing, and have an option to overwrite an existing folder