Skip to content

Commit

Permalink
Remove deprecation path
Browse files Browse the repository at this point in the history
  • Loading branch information
mfherbst committed Nov 2, 2024
1 parent 598092e commit d262308
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/utils/cells.jl
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,7 @@ n_dimensions(::PeriodicCell{D}) where {D} = D

# kwarg constructor for PeriodicCell

function PeriodicCell(; cell_vectors=nothing, periodicity, cell_vectors=nothing)
!isnothing(cell_vectors) && @warn "cell_vectors kwarg is deprecated and will be removed"
cell_vectors = something(cell_vectors, cell_vectors)
function PeriodicCell(; cell_vectors=nothing, periodicity)
PeriodicCell(_auto_cell_vectors(cell_vectors),
_auto_pbc(periodicity, cell_vectors))
end
Expand Down

0 comments on commit d262308

Please sign in to comment.