Skip to content

Commit

Permalink
error correction for array iteration
Browse files Browse the repository at this point in the history
  • Loading branch information
bernd-mueller committed Sep 26, 2024
1 parent c621039 commit cadf778
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/profile_generation_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,9 @@ def generate_types_cardianlity(g, prop):
# print(json.dumps(data['@graph'][0], indent=True))

external_properties = []
for g in data["@graph"]:
data_length = len(data)
for g in range(data_length):
#for g in data["@graph"]:
if g["@type"] == "rdf:Property":
external_properties.append(g["@id"])

Expand Down

0 comments on commit cadf778

Please sign in to comment.