def restart_reduce(self, rank):
        if self.collapsed is not None:
            return
        assert rank > 0
        if len(self.cs) > rank:
            del self.cs[:]
            del self.ds[:]
put site settings in the header of the script
dataset/ETHPy150Open scipy/scipy/scipy/optimize/nonlin.py/LowRankMatrix.restart_reduce--crossover with--dataset/ETHPy150Open natea/django-deployer/django_deployer/providers.py/PaaSProvider.init