Skip to content
Snippets Groups Projects
Commit b6fd9662 authored by Moritz Huebner's avatar Moritz Huebner
Browse files

Merge branch 'resolve-199' into 'master'

Resolve 199

Closes #199

See merge request Monash/bilby!220
parents d764e619 cf734073
No related branches found
No related tags found
1 merge request!220Resolve 199
Pipeline #32963 passed
......@@ -5,7 +5,7 @@ import sys
import numpy as np
from pandas import DataFrame
from deepdish.io import load, save
from ..utils import logger
from ..utils import logger, check_directory_exists_and_if_not_mkdir
from .base_sampler import Sampler, NestedSampler
......@@ -282,6 +282,7 @@ class Dynesty(NestedSampler):
sampler: `dynesty.NestedSampler`
NestedSampler to write to disk.
"""
check_directory_exists_and_if_not_mkdir(self.outdir)
resume_file = '{}/{}_resume.h5'.format(self.outdir, self.label)
if os.path.isfile(resume_file):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment