Commit 488f3fc7 authored by Gregory Ashton's avatar Gregory Ashton
Browse files

Fix a bug in the directory naming for reviews

When using the released version of bilby, the naming structure failed.
This rectifies that issue.
parent 9e61f745
Pipeline #128339 passed with stages
in 10 minutes and 5 seconds
......@@ -105,7 +105,10 @@ SAMPLER_KEYS = ["nlive", "walks", "nact", "maxmcmc"]
def get_default_top_level_dir():
bilby_version_number = bilby.__version__.split(":")[0]
bilby_git_hash = bilby.__version__.split(" ")[2]
bilby_git_hash = bilby.__version__.split(" ")[2]
except IndexError:
bilby_git_hash = "release"
bilby_state = ["CLEAN", "UNCLEAN"]["UNCLEAN" in bilby.__version__]
bilby_pipe_version_number = bilby_pipe.__long_version__.split(":")[0]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment