From fc000f39e60ad9eee427c824bdd4b6d072855048 Mon Sep 17 00:00:00 2001 From: Jesper Friis Date: Tue, 16 Jan 2024 19:13:19 +0100 Subject: [PATCH] Updated periodictable.py to 1.0.0-beta5 --- disciplines/periodictable.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/disciplines/periodictable.py b/disciplines/periodictable.py index 82ac8d2c..9b05cea1 100755 --- a/disciplines/periodictable.py +++ b/disciplines/periodictable.py @@ -81,7 +81,7 @@ class hasChemicalSymbol(onto.hasProperty): print(Z, symbol, name, mass) Element = types.new_class(name.capitalize() + 'Symbol', (onto.ChemicalElement, )) - Element.is_a.append(onto.hasSymbolData.value(symbol)) + Element.is_a.append(onto.hasSymbolValue.value(symbol)) AtomClass = types.new_class(name.capitalize() + 'Atom', (onto.Atom, )) AtomClass.elucidation.append(en('Atom subclass for %s.' % name.lower()))