def log_prior(self, f):
        assert(len(f) == len(self.y))
        f_2d = reshape(f, (1, len(f)))
        return self.get_gp_prior().log_pdf(f_2d)
Strip the final newline from <string>.
dataset/ETHPy150Open karlnapf/kameleon-mcmc/kameleon_mcmc/gp/GaussianProcess.py/GaussianProcess.log_prior--crossover with--dataset/ETHPy150Open ustuehler/git-cvs/cvsgit/utils.py/stripnl