diff --git a/bilby/core/sampler/ptmcmc.py b/bilby/core/sampler/ptmcmc.py index e1b452e4fde5dec71282958b4cac1bad7ea18b0d..bdb13962f75d5ece4977d622651e6d5d69bc6255 100644 --- a/bilby/core/sampler/ptmcmc.py +++ b/bilby/core/sampler/ptmcmc.py @@ -1,13 +1,12 @@ from __future__ import absolute_import, print_function import glob -import os import shutil import numpy as np from .base_sampler import MCMCSampler, SamplerNotInstalledError -from ..utils import logger, check_directory_exists_and_if_not_mkdir +from ..utils import logger class PTMCMCSampler(MCMCSampler): @@ -184,4 +183,3 @@ class PTMCMCSampler(MCMCSampler): shutil.rmtree(temp_outDir) return samples, meta, loglike -