Skip to content

Commit

Permalink
more barostat test tolerance
Browse files Browse the repository at this point in the history
  • Loading branch information
jgreener64 committed Oct 26, 2023
1 parent 162a9a2 commit 7eb271e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/simulation.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1007,7 +1007,7 @@ end
@test mean(values(sys.loggers.potential_energy)) < 0.0u"kJ * mol^-1"
all(!isnothing, press) && @test 0.7u"bar" < mean(values(sys.loggers.pressure)) < 1.3u"bar"
any(!isnothing, press) && @test 0.1u"bar" < std(values(sys.loggers.pressure)) < 2.5u"bar"
any(!isnothing, press) && @test 800.0u"nm^3" < mean(values(sys.loggers.box_volume)) < 1500u"nm^3"
any(!isnothing, press) && @test 800.0u"nm^3" < mean(values(sys.loggers.box_volume)) < 2000u"nm^3"
any(!isnothing, press) && @test 80.0u"nm^3" < std(values(sys.loggers.box_volume)) < 500.0u"nm^3"
axis_is_uncoupled = isnothing.(press)
axis_is_unchanged = sys.boundary .== 8.0u"nm"
Expand Down

2 comments on commit 7eb271e

@jgreener64
Copy link
Collaborator 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/94161

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.18.1 -m "<description of version>" 7eb271e376665edee672cea09c687e2fa1ae4dd0
git push origin v0.18.1

Please sign in to comment.