We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 77449d9 + 5793ba3 commit 6a336e6Copy full SHA for 6a336e6
src/PeriodicTable.jl
@@ -23,6 +23,7 @@ struct Element
23
boil::typeof(1.0K)
24
category::String
25
color::String
26
+ cpk_hex::String
27
density::typeof(1.0g/cm^3)
28
discovered_by::String
29
el_config::String
@@ -47,6 +48,7 @@ Element(; name::AbstractString="",
47
48
boil::typeof(1.0K)=NaN*K,
49
category::AbstractString="",
50
color::AbstractString="",
51
+ cpk_hex::AbstractString="",
52
density::typeof(1.0g/cm^3)=NaN*g/cm^3,
53
discovered_by::AbstractString="",
54
el_config::AbstractString="",
@@ -63,7 +65,7 @@ Element(; name::AbstractString="",
63
65
xpos::Integer=-1,
64
66
ypos::Integer=-1,
67
shells::AbstractVector{<:Integer}=Int[]) =
- Element(name, appearance, atomic_mass, boil, category, color, density,
68
+ Element(name, appearance, atomic_mass, boil, category, color, cpk_hex, density,
69
discovered_by, el_config, melt, molar_heat, named_by, number, period, phase,
70
source, spectral_img, summary, symbol, xpos, ypos, shells)
71
0 commit comments