oplus/epm/table_descriptor.py
def get_field_reduced_index(self, index):
        """
        reduced index: modulo of extensible has been applied
        """
        # return index if not extensible
        if self.extensible_info is None:
            return index
        
        # manage extensible
        cycle_start, cycle_len, _ = self.extensible_info
        
        # base field
        if index < cycle_start:
            return index
        
        # extensible field
        return cycle_start + ((index - cycle_start) % cycle_len)
def get_field_reduced_index(self, index):
        """
        reduced index: modulo of extensible has been applied
        """
        # return index if not extensible
        if self.extensible_info is None:
            return index
        
        # manage extensible
        cycle_start, cycle_len, _ = self.extensible_info
        
        # base field
        if index < cycle_start:
            return index
        
        # extensible field
        return cycle_start + ((index - cycle_start) % cycle_len)
def get_field_reduced_index ( self , index ) : # return index if not extensible if self . extensible_info is None : return index # manage extensible cycle_start , cycle_len , _ = self . extensible_info # base field if index < cycle_start : return index # extensible field return cycle_start + ( ( index - cycle_start ) % cycle_len )
reduced index: modulo of extensible has been applied
reduced index : modulo of extensible has been applied