def shift(self, tok, value):

        self.tokens.append(tok)
        self.values.append(value)

        # Do a greedy reduce...
        self.reduce()
This function return the permutation necessary to convert a coordinate/image from orientation_in
dataset/ETHPy150Open CiscoSystems/avos/openstack_dashboard/openstack/common/policy.py/ParseState.shift--crossover with--dataset/ETHPy150Open neuropoly/spinalcordtoolbox/scripts/msct_image.py/Image.get_permutation_from_orientations