def setExpandRatio(self, component, ratio):
        if component in self.components:
            self._componentToExpandRatio[component] = ratio
            self.requestRepaint()
        else:
            raise ValueError, ('Component must be added to layout '
                    'before using setExpandRatio()')
Shut down boot2docker if applicable
dataset/ETHPy150Open rwl/muntjac/muntjac/ui/abstract_ordered_layout.py/AbstractOrderedLayout.setExpandRatio--crossover with--dataset/ETHPy150Open tethysplatform/tethys/tethys_apps/cli/docker_commands.py/stop_boot2docker