src/pybel/parser/parse_control.py
def raise_for_missing_citation(self, line: str, position: int) -> None:
        """Raise an exception if there is no citation present in the parser.

        :raises: MissingCitationException
        """
        if self.citation_clearing and not self.citation_is_set:
            raise MissingCitationException(self.get_line_number(), line, position)
Raise an exception if there is no citation present in the parser.

        :raises: MissingCitationException
        
Raise an exception if there is no citation present in the parser.
Raise an exception if there is no citation present in the parser .
def raise_for_missing_citation(self, line: str, position: int) -> None:
        if self.citation_clearing and not self.citation_is_set:
            raise MissingCitationException(self.get_line_number(), line, position)
def raise_for_missing_citation ( self , line : str , position : int ) -> None : if self . citation_clearing and not self . citation_is_set : raise MissingCitationException ( self . get_line_number ( ) , line , position )
Raise an exception if there is no citation present in the parser.
Raise an exception if there is no citation present in the parser .
"""Raise an exception if there is no citation present in the parser.

        :raises: MissingCitationException
        """
None
self
line
str
position
int