(dsDatabase, dsLineId)
Returns the parsed record for lineid by reading the appropriate line from
    the database
Returns the parsed record for lineid by reading the appropriate line from
    the database
Returns the parsed record for lineid by reading the appropriate line from the database
def dsGetRecordByLineId(dsDatabase, dsLineId):
    '''
    Returns the parsed record for lineid by reading the appropriate line from
    the database
    '''
    offset = dsMapOffsetByLineId[int(dsLineId)]
    dsDatabase.seek(offset)
    line = dsDatabase.readline()
    if line == "":
        return None
    else:
        record = line.split('\t')
        return record
def dsGetRecordByLineId ( dsDatabase , dsLineId ) : offset = dsMapOffsetByLineId [ int ( dsLineId ) ] dsDatabase . seek ( offset ) line = dsDatabase . readline ( ) if line == "" : return None else : record = line . split ( '\t' ) return record