def anumb_to_atom(self, anumb):
assert isinstance(anumb, int), "<STR_LIT>"<EOL>if not self._anumb_to_atom:   <EOL><INDENT>if self.atoms:<EOL><INDENT>for atom in self.atoms:<EOL><INDENT>self._anumb_to_atom[atom.number] = atom<EOL><DEDENT>return self._anumb_to_atom[anumb]<EOL><DEDENT>else:<EOL><INDENT>self.logger("<STR_LIT>")<EOL>return False<EOL><DEDENT><DEDENT>else:<EOL><INDENT>if anumb in self._anumb_to_atom:<EOL><INDENT>return self._anumb_to_atom[anumb]<EOL><DEDENT>else:<EOL><INDENT>self.logger("<STR_LIT>".format(anumb))<EOL>return False<EOL><DEDENT><DEDENT>
Returns the atom object corresponding to an atom number