Skip to content

Commit

Permalink
v0.2.10 fix bug in correlation_bins_to_csv
Browse files Browse the repository at this point in the history
  • Loading branch information
cohensbw committed Nov 28, 2023
1 parent 40ce184 commit b272476
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "SmoQyDQMC"
uuid = "00e12d65-277b-447e-9c1d-a17422dd36f5"
authors = ["Benjamin Cohen-Stead <[email protected]>"]
version = "0.2.9"
version = "0.2.10"

[deps]
BinningAnalysis = "b7192094-8e58-5052-a244-180a858778ee"
Expand Down
6 changes: 3 additions & 3 deletions src/Measurements/binned_data_to_csv.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Write the binned global measurements to file.
function global_measurement_bins_to_csv(folder::String)

# get the number of processes that ran during simulation
N_process = _get_num_processes(folder)
N_process = get_num_walkers(folder)

# get the number of files in each measurement directory
N_files = length(readdir(joinpath(folder,"global")))
Expand Down Expand Up @@ -84,7 +84,7 @@ function local_measurement_bins_to_csv(folder::String, measurement::String)
local_folder = joinpath(folder, "local")

# get the number of processes that ran during simulation
N_process = _get_num_processes(folder)
N_process = get_num_walkers(folder)

# get the number of files in each measurement directory
N_file = length(readdir(global_folder))
Expand Down Expand Up @@ -172,7 +172,7 @@ function correlation_bins_to_csv(; folder::String, correlation::String, type::St
filename = @sprintf "%s_%s_%s_bins.csv" correlation space type

# get the number of processes that ran during simulation
N_process = _get_num_processes(folder)
N_process = get_num_walkers(folder)

# get the number of files in each measurement directory
N_files = length(readdir(joinpath(folder,"global")))
Expand Down
5 changes: 0 additions & 5 deletions src/Measurements/process_measurements.jl
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@
time_displaced::Bool = false,
)
process_measurements(
comm::MPI.Comm, folder::String, N_bins::Int, pIDs::Union{Vector{Int},Int} = Int[];
time_displaced::Bool = false,
)
Process the measurements recorded in the simulation directory `folder`, where `N_bins` is the number of bins the data is grouped into for calculating error bars.
Note that this method will over-write an existing correlation stats file if there already is one.
The boolean flag `time_displaced` determines whether or not to calculate error bars for time-displaced correlation measurements,
Expand Down

2 comments on commit b272476

@cohensbw
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/96099

Tip: Release Notes

Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.

Tagging

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.10 -m "<description of version>" b2724764526da1e694ffc1c43d7e510e11d0700b
git push origin v0.2.10

Please sign in to comment.