Skip to content

Commit

Permalink
Update CrystalInfoFramework
Browse files Browse the repository at this point in the history
  • Loading branch information
kbarros committed Oct 10, 2024
1 parent f6ec99a commit d2b078b
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
4 changes: 1 addition & 3 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ CrystalInfoFramework = "6007d9b0-c6b2-11e8-0510-1d10e825f3f1"
DynamicPolynomials = "7c1d4256-1411-5781-91ec-d7bc3513ac07"
ElasticArrays = "fdbdab4c-e67f-52f5-8c3f-e7b388dad3d4"
FFTW = "7a1cc6ca-52ef-59f5-83cd-3a7055c09341"
FilePathsBase = "48062228-2e41-5def-b9a4-89aafe57970f"
HCubature = "19dc6840-f33b-545b-b366-655c7e3ffd49"
JLD2 = "033835bb-8acc-5ee8-8aae-3f567f8a3819"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
Expand Down Expand Up @@ -36,11 +35,10 @@ PlottingExt = "Makie"
WGLMakiePrecompilesExt = "WGLMakie"

[compat]
CrystalInfoFramework = "0.6.0"
CrystalInfoFramework = "0.7.0"
DynamicPolynomials = "0.6.0"
ElasticArrays = "1.2.12"
FFTW = "1.4.5"
FilePathsBase = "0.9.18"
GLMakie = "0.9, 0.10"
HCubature = "1.7.0"
JLD2 = "0.5.4"
Expand Down
2 changes: 1 addition & 1 deletion src/MCIF.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Load the magnetic supercell according to an mCIF file. System `sys` must already
be resized to the correct supercell dimensions.
"""
function set_dipoles_from_mcif!(sys::System, filename::AbstractString)
cif = CIF.Cif(Path(filename))
cif = CIF.Cif(filename)
# For now, assumes there is only one data collection per .cif
cif = cif[first(keys(cif))]

Expand Down
1 change: 0 additions & 1 deletion src/Sunny.jl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import JLD2
import HCubature: hcubature

# Specific to Symmetry/
import FilePathsBase: Path
import CrystalInfoFramework as CIF
import Spglib
import RowEchelon: rref!
Expand Down
2 changes: 1 addition & 1 deletion src/Symmetry/Parsing.jl
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ end

# Reads the crystal from a `.cif` file located at the path `filename`.
function Crystal(filename::AbstractString; symprec=nothing, override_symmetry=false)
cif = CIF.Cif(Path(filename))
cif = CIF.Cif(filename)
# For now, assumes there is only one data collection per .cif
cif = cif[first(keys(cif))]

Expand Down

0 comments on commit d2b078b

Please sign in to comment.