Skip to content

Commit

Permalink
Adding test prints
Browse files Browse the repository at this point in the history
  • Loading branch information
eiglesias34 committed Aug 27, 2022
1 parent 860ab4c commit 90e8743
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ You can easily customize your own configurations from the set of features that S

## Version
```
4.5.5
4.5.5.1
```

## RML-Test Cases
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.5.5
4.5.5.1
4 changes: 3 additions & 1 deletion rdfizer/rdfizer/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,9 @@ def hash_update(parent_data, parent_subject, child_object,join_id):
value = value[1:-1]
hash_table.update({row[child_object.parent[0]] : {value : "object"}})
else:
if string_substitution(parent_subject.subject_map.value, "{(.+?)}", row, "object", ignore, parent_subject.iterator) is not None:
if string_substitution(parent_subject.subject_map.value, "{(.+?)}", row, "object", ignore, parent_subject.iterator) is not None:
print(string_substitution(parent_subject.subject_map.value, "{(.+?)}", row, "object", ignore, parent_subject.iterator))
print(row)
hash_table.update({row[child_object.parent[0]] : {"<" + string_substitution(parent_subject.subject_map.value, "{(.+?)}", row, "object", ignore, parent_subject.iterator) + ">" : "object"}})
join_table[join_id].update(hash_table)

Expand Down
4 changes: 3 additions & 1 deletion rdfizer/rdfizer/semantify.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,9 @@ def hash_update(parent_data, parent_subject, child_object,join_id):
value = value[1:-1]
hash_table.update({row[child_object.parent[0]] : {value : "object"}})
else:
if string_substitution(parent_subject.subject_map.value, "{(.+?)}", row, "object", ignore, parent_subject.iterator) is not None:
if string_substitution(parent_subject.subject_map.value, "{(.+?)}", row, "object", ignore, parent_subject.iterator) is not None:
print(string_substitution(parent_subject.subject_map.value, "{(.+?)}", row, "object", ignore, parent_subject.iterator))
print(row)
hash_table.update({row[child_object.parent[0]] : {"<" + string_substitution(parent_subject.subject_map.value, "{(.+?)}", row, "object", ignore, parent_subject.iterator) + ">" : "object"}})
join_table[join_id].update(hash_table)

Expand Down

0 comments on commit 90e8743

Please sign in to comment.