Skip to content

Commit b430786

Browse files
committed
✅ Convert args to atomic units for consistency
1 parent 8bf7bce commit b430786

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/Analysis/diatomic.jl

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ using JLD2
1313
atoms, initial_positions, cell=NQCDynamics.convert_from_ase_atoms(desorption_trajectory_ase[1])
1414
simulation=Simulation(atoms, AdiabaticASEModel(desorption_trajectory_ase[1]), cell=cell)
1515
diatomic_indices=[55,56]
16-
@test Analysis.Diatomic.get_desorption_frame(desorption_dynamicsvariables, diatomic_indices, simulation; surface_distance_threshold=2.4u"Å") == 2675
17-
@test Analysis.Diatomic.get_desorption_angle(desorption_dynamicsvariables, diatomic_indices, simulation; surface_distance_threshold=2.4u"Å") 28.05088202518
18-
end
16+
@test Analysis.Diatomic.get_desorption_frame(desorption_dynamicsvariables, diatomic_indices, simulation; surface_distance_threshold=austrip(2.4u"Å")) == 2675
17+
@test Analysis.Diatomic.get_desorption_angle(desorption_dynamicsvariables, diatomic_indices, simulation; surface_distance_threshold=austrip(2.4u"Å")) 28.05088202518
18+
end

0 commit comments

Comments
 (0)