From f6d955f3840f48e0c5c104f90e1f59b4efd83642 Mon Sep 17 00:00:00 2001 From: eiglesias34 Date: Wed, 12 Jun 2024 18:01:24 +0200 Subject: [PATCH] Fixed issue with missed variable assignment --- README.md | 2 +- VERSION | 2 +- rdfizer/rdfizer/__init__.py | 4 ++-- rdfizer/rdfizer/semantify.py | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 48a3e22..b7c52cf 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,7 @@ You can easily customize your own configurations from the set of features that S ## Version ``` -4.7.4.4 +4.7.4.5 ``` ## RML-Test Cases diff --git a/VERSION b/VERSION index d025917..d94ecf1 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -4.7.4.4 \ No newline at end of file +4.7.4.5 \ No newline at end of file diff --git a/rdfizer/rdfizer/__init__.py b/rdfizer/rdfizer/__init__.py index f116d97..ebda5b7 100755 --- a/rdfizer/rdfizer/__init__.py +++ b/rdfizer/rdfizer/__init__.py @@ -8690,8 +8690,8 @@ def semantify(config_path, log_path='error.log'): if duplicate == "yes": reader = reader.drop_duplicates(keep='first') data = reader.to_dict(orient='records') - if "NonAssertedTriplesMap" not in sorted_sources[source_type][source][triples_map].mappings_type: - for triples_map in sorted_sources[source_type][source]: + for triples_map in sorted_sources[source_type][source]: + if "NonAssertedTriplesMap" not in sorted_sources[source_type][source][triples_map].mappings_type: if (len(sorted_sources[source_type][source][ triples_map].predicate_object_maps_list) > 0 and sorted_sources[source_type][source][ diff --git a/rdfizer/rdfizer/semantify.py b/rdfizer/rdfizer/semantify.py index 0d735af..74ca422 100755 --- a/rdfizer/rdfizer/semantify.py +++ b/rdfizer/rdfizer/semantify.py @@ -8690,8 +8690,8 @@ def semantify(config_path, log_path='error.log'): if duplicate == "yes": reader = reader.drop_duplicates(keep='first') data = reader.to_dict(orient='records') - if "NonAssertedTriplesMap" not in sorted_sources[source_type][source][triples_map].mappings_type: - for triples_map in sorted_sources[source_type][source]: + for triples_map in sorted_sources[source_type][source]: + if "NonAssertedTriplesMap" not in sorted_sources[source_type][source][triples_map].mappings_type: if (len(sorted_sources[source_type][source][ triples_map].predicate_object_maps_list) > 0 and sorted_sources[source_type][source][