(self, value, column_number)
return parsed_value
Parse a genomic coordinate, logging any errors for this column.

        Return the parsed value if valid, None otherwise.
Parse a genomic coordinate, logging any errors for this column.
Parse a genomic coordinate logging any errors for this column .
def parse_genomic_coord(self, value, column_number):
        """Parse a genomic coordinate, logging any errors for this column.

        Return the parsed value if valid, None otherwise.
        """
        parsed_value = None
        try:
            parsed_value = int(value)
        except ValueError:
            self.logger.error("Genomic position is not an integer",
                              extra={'line_number': self.line_number,
                                     'column_number': column_number,
                                     'cause': value})
        return parsed_value
def parse_genomic_coord ( self , value , column_number ) : parsed_value = None try : parsed_value = int ( value ) except ValueError : self . logger . error ( "Genomic position is not an integer" , extra = { 'line_number' : self . line_number , 'column_number' : column_number , 'cause' : value } ) return parsed_value