We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 649fad9 commit 868dc7aCopy full SHA for 868dc7a
src/molecule.jl
@@ -85,7 +85,7 @@ function parse_xyz(xyztext::String)::Molecule
85
push!(coordinates, coordinate)
86
push!(Zvalues, Zvalue)
87
else
88
- throw("The line \"$line\" does not match expected format.")
+ throw(ErrorException("The line \"$line\" does not match expected format."))
89
end
90
91
coordinates = mapreduce(permutedims, vcat, coordinates)
0 commit comments