@property
def valenceOccupancy(self):
    'Occupancy of the valence subshell.'
    assert (self.charge is not None), 'The charge must be set.'
    charge = int(self.charge[::(- 1)])
    ion_electrons = (self.atomicNumber - charge)
    core_electorns = SUBSHELLS[self.valenceSubshell]['coreElectrons']
    occupancy = (ion_electrons - core_electorns)
    return occupancy
Occupancy of the valence subshell.
@property
def valenceOccupancy(self):
    
    assert (self.charge is not None), 'The charge must be set.'
    charge = int(self.charge[::(- 1)])
    ion_electrons = (self.atomicNumber - charge)
    core_electorns = SUBSHELLS[self.valenceSubshell]['coreElectrons']
    occupancy = (ion_electrons - core_electorns)
    return occupancy