Skip to content

Commit

Permalink
Merge pull request #151 from Julia-Tempering/Rng-bug-fix
Browse files Browse the repository at this point in the history
Rng bug fix.
  • Loading branch information
alexandrebouchard authored Oct 7, 2023
2 parents 295f368 + 8e4ba67 commit 9d7e6e9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "Pigeons"
uuid = "0eb8d820-af6a-4919-95ae-11206f830c31"
authors = ["Alexandre Bouchard-Côté <[email protected]>, Nikola Surjanovic <[email protected]>, Paul Tiede <[email protected]>, Trevor Campbell, Miguel Biron-Lattes, Saifuddin Syed"]
version = "0.2.6"
version = "0.2.7"

[deps]
BridgeStan = "c88b6f0a-829e-4b0b-94b7-f06ab5908f5a"
Expand Down
4 changes: 2 additions & 2 deletions src/utils/exec_folder.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

2 comments on commit 9d7e6e9

@alexandrebouchard
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/92978

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.2.7 -m "<description of version>" 9d7e6e942a7f9194f8e10c46599e871da633f5b1
git push origin v0.2.7

Please sign in to comment.