Merge pull request #4 from MineralsCloud:Lattice #14
Annotations
4 errors and 2 warnings
src/lattice.jl#L27
doctest failure in ~/work/CrystallographyCore.jl/CrystallographyCore.jl/src/lattice.jl:27-37
```jldoctest
julia> Lattice([
1.2 4.5 7.8
2.3 5.6 8.9
3.4 6.7 9.1
])
3×3 Lattice{Float64}
1.2 4.5 7.8
2.3 5.6 8.9
3.4 6.7 9.1
```
Subexpression:
Lattice([
Evaluated output:
ERROR: syntax: incomplete: premature end of input
Stacktrace:
[1] top-level scope
@ none:1
Expected output:
1.2 4.5 7.8
2.3 5.6 8.9
3.4 6.7 9.1
])
3×3 Lattice{Float64}
1.2 4.5 7.8
2.3 5.6 8.9
3.4 6.7 9.1
diff =
Warning: Diff output requires color.
1.2 4.5 7.8
2.3 5.6 8.9
3.4 6.7 9.1
])
3×3 Lattice{Float64}
1.2 4.5 7.8
2.3 5.6 8.9
3.4 6.7 9.1ERROR: syntax: incomplete: premature end of input
Stacktrace:
[1] top-level scope
@ none:1
|
src/lattice.jl#L63
doctest failure in ~/work/CrystallographyCore.jl/CrystallographyCore.jl/src/lattice.jl:63-99
```jldoctest
julia> Lattice([[1.2, 2.3, 3.4], [4.5, 5.6, 6.7], [7.8, 8.9, 9.10]])
3×3 Lattice{Float64}
1.2 4.5 7.8
2.3 5.6 8.9
3.4 6.7 9.1
julia> Lattice(((1.1, 2.2, 3.1), (4.4, 5.5, 6.5), (7.3, 8.8, 9.9)))
3×3 Lattice{Float64}
1.1 4.4 7.3
2.2 5.5 8.8
3.1 6.5 9.9
julia> Lattice((1.1, 2.2, 3.1, 4.4, 5.5, 6.5, 7.3, 8.8, 9.9))
3×3 Lattice{Float64}
1.1 4.4 7.3
2.2 5.5 8.8
3.1 6.5 9.9
julia> Lattice(i * 1.1 for i in 1:9)
3×3 Lattice{Float64}
1.1 4.4 7.700000000000001
2.2 5.5 8.8
3.3000000000000003 6.6000000000000005 9.9
julia> using Unitful, UnitfulAtomic
julia> Lattice([
[4u"nm", 0u"m", 0.0u"cm"],
[0u"cm", 180.0u"bohr", 0u"m"],
[0u"bohr", 0u"nm", (3//1) * u"angstrom"],
])
3×3 Lattice{Quantity{Float64, 𝐋, Unitful.FreeUnits{(m,), 𝐋, nothing}}}
4.0e-9 m 0.0 m 0.0 m
0.0 m 9.525189796254e-9 m 0.0 m
0.0 m 0.0 m 3.0e-10 m
```
Subexpression:
using Unitful, UnitfulAtomic
Evaluated output:
ERROR: ArgumentError: Package Unitful not found in current path.
- Run `import Pkg; Pkg.add("Unitful")` to install the Unitful package.
Stacktrace:
[1] macro expansion
@ ./loading.jl:1630 [inlined]
[2] macro expansion
@ ./lock.jl:267 [inlined]
[3] require(into::Module, mod::Symbol)
@ Base ./loading.jl:1611
Expected output:
diff =
Warning: Diff output requires color.
ERROR: ArgumentError: Package Unitful not found in current path.
- Run `import Pkg; Pkg.add("Unitful")` to install the Unitful package.
Stacktrace:
[1] macro expansion
@ ./loading.jl:1630 [inlined]
[2] macro expansion
@ ./lock.jl:267 [inlined]
[3] require(into::Module, mod::Symbol)
@ Base ./loading.jl:1611
|
src/lattice.jl#L63
doctest failure in ~/work/CrystallographyCore.jl/CrystallographyCore.jl/src/lattice.jl:63-99
```jldoctest
julia> Lattice([[1.2, 2.3, 3.4], [4.5, 5.6, 6.7], [7.8, 8.9, 9.10]])
3×3 Lattice{Float64}
1.2 4.5 7.8
2.3 5.6 8.9
3.4 6.7 9.1
julia> Lattice(((1.1, 2.2, 3.1), (4.4, 5.5, 6.5), (7.3, 8.8, 9.9)))
3×3 Lattice{Float64}
1.1 4.4 7.3
2.2 5.5 8.8
3.1 6.5 9.9
julia> Lattice((1.1, 2.2, 3.1, 4.4, 5.5, 6.5, 7.3, 8.8, 9.9))
3×3 Lattice{Float64}
1.1 4.4 7.3
2.2 5.5 8.8
3.1 6.5 9.9
julia> Lattice(i * 1.1 for i in 1:9)
3×3 Lattice{Float64}
1.1 4.4 7.700000000000001
2.2 5.5 8.8
3.3000000000000003 6.6000000000000005 9.9
julia> using Unitful, UnitfulAtomic
julia> Lattice([
[4u"nm", 0u"m", 0.0u"cm"],
[0u"cm", 180.0u"bohr", 0u"m"],
[0u"bohr", 0u"nm", (3//1) * u"angstrom"],
])
3×3 Lattice{Quantity{Float64, 𝐋, Unitful.FreeUnits{(m,), 𝐋, nothing}}}
4.0e-9 m 0.0 m 0.0 m
0.0 m 9.525189796254e-9 m 0.0 m
0.0 m 0.0 m 3.0e-10 m
```
Subexpression:
Lattice([
Evaluated output:
ERROR: syntax: incomplete: premature end of input
Stacktrace:
[1] top-level scope
@ none:1
Expected output:
[4u"nm", 0u"m", 0.0u"cm"],
[0u"cm", 180.0u"bohr", 0u"m"],
[0u"bohr", 0u"nm", (3//1) * u"angstrom"],
])
3×3 Lattice{Quantity{Float64, 𝐋, Unitful.FreeUnits{(m,), 𝐋, nothing}}}
4.0e-9 m 0.0 m 0.0 m
0.0 m 9.525189796254e-9 m 0.0 m
0.0 m 0.0 m 3.0e-10 m
diff =
Warning: Diff output requires color.
[4u"nm", 0u"m", 0.0u"cm"],
[0u"cm", 180.0u"bohr", 0u"m"],
[0u"bohr", 0u"nm", (3//1) * u"angstrom"],
])
3×3 Lattice{Quantity{Float64, 𝐋, Unitful.FreeUnits{(m,), 𝐋, nothing}}}
4.0e-9 m 0.0 m 0.0 m
0.0 m 9.525189796254e-9 m 0.0 m
0.0 m 0.0 m 3.0e-10 mERROR: syntax: incomplete: premature end of input
Stacktrace:
[1] top-level scope
@ none:1
|
|
../../../.julia/packages/Documenter/bYYzK/src/Utilities/Utilities.jl#L34
undefined binding 'Cell' in `@docs` block in src/lib/public.md:18-23
```@docs
Lattice
basisvectors
Cell
eachatom
```
|
|
The logs for this run have expired and are no longer available.
Loading