diff --git a/Project.toml b/Project.toml index 227696366..e5eb6abfe 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "Pigeons" uuid = "0eb8d820-af6a-4919-95ae-11206f830c31" authors = ["Alexandre Bouchard-Côté , Nikola Surjanovic , Paul Tiede , Trevor Campbell, Miguel Biron-Lattes, Saifuddin Syed"] -version = "0.2.6" +version = "0.2.7" [deps] BridgeStan = "c88b6f0a-829e-4b0b-94b7-f06ab5908f5a" diff --git a/src/utils/exec_folder.jl b/src/utils/exec_folder.jl index 403b99bca..dcb543d05 100644 --- a/src/utils/exec_folder.jl +++ b/src/utils/exec_folder.jl @@ -7,8 +7,8 @@ called `results/latest`` """ function next_exec_folder() formatted_time = Dates.format(now(), dateformat"yyyy-mm-dd-HH-MM-SS") - Random.seed!(getpid() * now().instant.periods.value) - result = abspath("results/all/$formatted_time-$(randstring(8))") + rng = SplittableRandom(getpid() * now().instant.periods.value) + result = abspath("results/all/$formatted_time-$(randstring(rng, 8))") mkpath(result) _ensure_symlinked(result) return result