From 91794d5aa76335015d8c6bd3ad641f7979df6dc0 Mon Sep 17 00:00:00 2001 From: Jesper Friis Date: Thu, 12 Dec 2024 16:05:03 +0100 Subject: [PATCH] Added some exceptions for EMMO unit dimension classes These classes are just providing the structure of the taxonomy and doesn't need to have a physical dimension. --- emmopy/emmocheck.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/emmopy/emmocheck.py b/emmopy/emmocheck.py index 765df491f..b5c46dad3 100644 --- a/emmopy/emmocheck.py +++ b/emmopy/emmocheck.py @@ -314,6 +314,9 @@ def test_unit_dimension(self): "emmo.SIBaseUnit", "emmo.SIUnitSymbol", "emmo.SIUnit", + "emmo.SIAcceptedDerivedUnit", + "emmo.SIDerivedUnit", + "emmo.SIAcceptedPrefixedUnit", ) ) if not hasattr(self.onto, "MeasurementUnit"):