JuliaMolSim / AtomsBase.jl

A Julian abstract interface for atomic structures.
https://juliamolsim.github.io/AtomsBase.jl/
MIT License
81 stars 16 forks source link

test_approx_eq fails for isolated molecules #104

Closed tjjarvinen closed 1 week ago

tjjarvinen commented 1 month ago

As tittle says.

Working example

using AtomsBase
using AtomsBaseTesting
using Unitful

hydrogen = isolated_system([
    :H => [0, 0, 0.]u"Å",
    :H => [0, 0, 1.]u"Å"
])

test_approx_eq(hydrogen, hydrogen)  # error

See for https://github.com/libAtoms/ExtXYZ.jl/pull/48