Skip to content

Commit

Permalink
Updated periodictable.py to 1.0.0-beta5
Browse files Browse the repository at this point in the history
  • Loading branch information
jesper-friis committed Jan 16, 2024
1 parent 17db16d commit fc000f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion disciplines/periodictable.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()))
Expand Down

0 comments on commit fc000f3

Please sign in to comment.