The Component docstring states that:
Initialize with a dictionary of properties. You can use any properties you want
but when trying to pass a tuple, this is omitted from the component instance:
desc = 'bl Mrl ab thn bdd mrl ls'
props = {'Formation': 'Shiranish',
'Period': 'Cretaceous',
'desc': desc,
'Lithology': lexicon.expand_abbreviations(desc),
'Thickness [m]': 227.8,
'Type locality': 'Shiranish Islam, near Zakho, Northen Iraq',
'Coords_tuple_string': ("37°11'32''N", "42°50'30''E"), # this is not used
'Coords_tuple_numeric': (123, 456), # this is not used
'Coords_N': "37°11'32''N",
'Coords_E': "42°50'30''E",
}
shiranish = Component(props)
shiranish
The
Component
docstring states that:Initialize with a dictionary of properties. You can use any properties you want
but when trying to pass a tuple, this is omitted from thecomponent
instance: