def get_blanking_values(self, ld, seq_dict):
    pos_len = (seq_dict['Tbl_Len'][1] & 255)
    vec_len = ((seq_dict['Tbl_Len'][1] & 65280) >> 8)
    if (pos_len != vec_len):
        print('Table length not equal')
    start_loc = seq_dict['Start_Loc'][1]
    pos_len = (seq_dict['Tbl_Len'][1] & 255)
    vec_len = ((seq_dict['Tbl_Len'][1] & 65280) >> 8)
    pos_ptr = ((seq_dict['Pos_Off'][1] * 2) + 16384)
    vec_ptr = ((seq_dict['Vec_Off'][1] * 2) + 16384)
    blk_pos = (- 1)
    blk_neg = (- 1)
    for i in range(vec_len):
        curr_vec = self.code_dict[(vec_ptr + i)]
        if (((curr_vec >> (ld - 1)) & 1) == 1):
            if (blk_pos == (- 1)):
                blk_pos = i
            elif (blk_neg == (- 1)):
                blk_neg = i
    start_pos = (start_loc + 2)
    pos_tbl = []
    for i in range(pos_len):
        if (i == 0):
            pos_tbl.append((self.code_dict[(pos_ptr + i)] + start_pos))
        else:
            pos_tbl.append((self.code_dict[(pos_ptr + i)] + pos_tbl[(i - 1)]))
    blk_pos = pos_tbl[blk_pos]
    blk_neg = pos_tbl[blk_neg]
    return (blk_pos, blk_neg)
def get_blanking_values(self, ld, seq_dict):
    pos_len = (seq_dict['Tbl_Len'][1] & 255)
    vec_len = ((seq_dict['Tbl_Len'][1] & 65280) >> 8)
    if (pos_len != vec_len):
        print('Table length not equal')
    start_loc = seq_dict['Start_Loc'][1]
    pos_len = (seq_dict['Tbl_Len'][1] & 255)
    vec_len = ((seq_dict['Tbl_Len'][1] & 65280) >> 8)
    pos_ptr = ((seq_dict['Pos_Off'][1] * 2) + 16384)
    vec_ptr = ((seq_dict['Vec_Off'][1] * 2) + 16384)
    blk_pos = (- 1)
    blk_neg = (- 1)
    for i in range(vec_len):
        curr_vec = self.code_dict[(vec_ptr + i)]
        if (((curr_vec >> (ld - 1)) & 1) == 1):
            if (blk_pos == (- 1)):
                blk_pos = i
            elif (blk_neg == (- 1)):
                blk_neg = i
    start_pos = (start_loc + 2)
    pos_tbl = []
    for i in range(pos_len):
        if (i == 0):
            pos_tbl.append((self.code_dict[(pos_ptr + i)] + start_pos))
        else:
            pos_tbl.append((self.code_dict[(pos_ptr + i)] + pos_tbl[(i - 1)]))
    blk_pos = pos_tbl[blk_pos]
    blk_neg = pos_tbl[blk_neg]
    return (blk_pos, blk_neg)