def _move(self, direction, from_page, to_page):
    "\n        Conducts a section's part of moving in an alfred experiment.\n\n        Raises:\n            ValidationError: If validation of the current page fails.\n        "
    if (direction == 'forward'):
        self._forward()
    elif (direction == 'backward'):
        self._backward()
    elif (direction == 'jumpto'):
        self._jumpto()
    elif direction.startswith('jump'):
        self._jumpfrom()
    if (to_page.section.name in self.all_members):
        self._hand_over()
    elif (not (to_page.section is self)):
        self._leave()
    if direction.startswith('jump'):
        to_page.section._jumpto()
    if (self.name in to_page.section.all_members):
        to_page.section._resume()
    elif (not (to_page.section is self)):
        to_page.section._enter()
    if self.exp.aborted:
        raise AbortMove
Conducts a section's part of moving in an alfred experiment.

Raises:
    ValidationError: If validation of the current page fails.
def _move(self, direction, from_page, to_page):
    "\n        Conducts a section's part of moving in an alfred experiment.\n\n        Raises:\n            ValidationError: If validation of the current page fails.\n        "
    if (direction == 'forward'):
        self._forward()
    elif (direction == 'backward'):
        self._backward()
    elif (direction == 'jumpto'):
        self._jumpto()
    elif direction.startswith('jump'):
        self._jumpfrom()
    if (to_page.section.name in self.all_members):
        self._hand_over()
    elif (not (to_page.section is self)):
        self._leave()
    if direction.startswith('jump'):
        to_page.section._jumpto()
    if (self.name in to_page.section.all_members):
        to_page.section._resume()
    elif (not (to_page.section is self)):
        to_page.section._enter()
    if self.exp.aborted:
        raise AbortMove