OnroerendErfgoed / atramhasis

An online SKOS editor
http://atramhasis.readthedocs.io/
GNU General Public License v3.0
53 stars 11 forks source link

import_data.py: NameError: name 'Note' is not defined #721

Closed mielvds closed 2 years ago

mielvds commented 2 years ago

I'm getting a NameError on Note in https://github.com/OnroerendErfgoed/atramhasis/blob/develop/atramhasis/scripts/import_file.py#L209 when importing this Turtle skos file. Shouldn't the Note and Source function be imported somewhere or is something else going on?

koenedaele commented 2 years ago

Looks like a bug. Don't think this script is covered by unit tests.

I do see that the skos file contains SKOSXL statements, which we currently don't support. So, any SKOSXL statements will be ignored.

mielvds commented 2 years ago

Looks like a bug. Don't think this script is covered by unit tests.

👍

I do see that the skos file contains SKOSXL statements, which we currently don't support. So, any SKOSXL statements will be ignored.

That's fine, no immediate need.