We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65bcde3 commit 8743fddCopy full SHA for 8743fdd
1 file changed
bilby/core/result.py
@@ -194,7 +194,9 @@ def get_weights_for_reweighting(
194
195
starting_index = np.argmin(np.abs(old_log_likelihood_array))
196
logger.info(f'Checkpoint resuming from {starting_index}.')
197
-
+ elif resume_file is not None:
198
+ basedir = os.path.split(resume_file)[0]
199
+ check_directory_exists_and_if_not_mkdir(basedir)
200
else:
201
old_log_likelihood_array = np.zeros(nposterior)
202
old_log_prior_array = np.zeros(nposterior)
0 commit comments