'Determine the number of jobs which are going to run in parallel'

def effective_n_jobs(self, n_jobs):

    if (n_jobs == 0):
        raise ValueError('n_jobs    ==    0    in    Parallel    has    no    meaning')
    return 1
