Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion invenio_vocabularies/contrib/subjects/nvs/datastreams.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def _transform_entry(self, subject, rdf_graph):
subject_data = self._get_subject_data(rdf_graph, subject)
deprecated = subject_data.get(str(rdflib.namespace.OWL.deprecated), [False])
if deprecated and str(deprecated[0]).lower() == "true":
return None # Skip deprecated subjects
raise TransformerError(f"Skipping deprecated subject: {subject_data}")

notation = subject_data.get(str(self.skos_core.notation), [])
if notation:
Expand Down
Loading