Skip to content

Commit b5b57a1

Browse files
committed
Update Excel template
Add missing languages.
1 parent b916b9d commit b5b57a1

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Model/Import Model/spreadsheet-import/Excel2bSDD_converter.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,9 @@ def excel2bsdd(excel, bsdd_template):
156156
found_it = True
157157
break
158158
if not found_it:
159-
raise Exception(f"Class '{related}' not found in the spreadsheet, so couldn't append the class property: '{cls_prop}'!")
159+
print(related)
160+
print(cls_prop['PropertyCode'])
161+
raise Exception(f"Class '{related}' not found in the spreadsheet, so couldn't append the class property: '{cls_prop['PropertyCode']}'!")
160162
# process ClassRelation
161163
cls_rels = map_data(excel['classrelation'], bsdd_template['Classes'][0]['ClassRelations'], "class-relations")
162164
for cls_rel in cls_rels:
2.01 KB
Binary file not shown.

0 commit comments

Comments
 (0)