def get_nuc_charge(self):
    return sum((self.get_atom_number(name=atom) for atom in self.get_atoms()))
def get_nuc_charge(self):
    return sum((self.get_atom_number(name=atom) for atom in self.get_atoms()))