Skip to content

Commit 3bcfb65

Browse files
authored
Fix s2dm regression (#535)
Signed-off-by: Erik Jaegervall <erik.jaegervall@se.bosch.com>
1 parent 14f694c commit 3bcfb65

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/vss_tools/exporters/s2dm/type_builders.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ def _get_unit_args(leaf_row: pd.Series, unit_enums: dict[str, GraphQLEnumType])
453453
if not unit:
454454
return {}
455455

456-
unit_data = dynamic_units[unit]
456+
unit_data = dynamic_units[unit.lower()]
457457
if not unit_data.quantity:
458458
return {}
459459

0 commit comments

Comments
 (0)