def write_bel_annotation(self, file: TextIO) -> None:
if not self.is_populated():<EOL><INDENT>self.populate()<EOL><DEDENT>values = self._get_namespace_name_to_encoding(desc='<STR_LIT>')<EOL>write_annotation(<EOL>keyword=self._get_namespace_keyword(),<EOL>citation_name=self._get_namespace_name(),<EOL>description='<STR_LIT>',<EOL>values=values,<EOL>file=file,<EOL>)<EOL>
Write as a BEL annotation file.