src/pybel/parser/parse_control.py
def handle_unset_citation(self, line: str, position: int, tokens: ParseResults) -> ParseResults:
        """Unset the citation, or raise an exception if it is not set.

        :raises: MissingAnnotationKeyWarning
        """
        if not self.citation_is_set:
            raise MissingAnnotationKeyWarning(self.get_line_number(), line, position, BEL_KEYWORD_CITATION)

        self.clear_citation()
        return tokens
Unset the citation, or raise an exception if it is not set.

        :raises: MissingAnnotationKeyWarning
        
Unset the citation, or raise an exception if it is not set.
Unset the citation or raise an exception if it is not set .
def handle_unset_citation(self, line: str, position: int, tokens: ParseResults) -> ParseResults:
        if not self.citation_is_set:
            raise MissingAnnotationKeyWarning(self.get_line_number(), line, position, BEL_KEYWORD_CITATION)
        self.clear_citation()
        return tokens
def handle_unset_citation ( self , line : str , position : int , tokens : ParseResults ) -> ParseResults : if not self . citation_is_set : raise MissingAnnotationKeyWarning ( self . get_line_number ( ) , line , position , BEL_KEYWORD_CITATION ) self . clear_citation ( ) return tokens
Unset the citation, or raise an exception if it is not set.
Unset the citation or raise an exception if it is not set .
"""Unset the citation, or raise an exception if it is not set.

        :raises: MissingAnnotationKeyWarning
        """
None
self
line
str
position
int
tokens
ParseResults