Skip to content

Commit

Permalink
add warning to loading PeriodicSystems
Browse files Browse the repository at this point in the history
  • Loading branch information
lmiq committed May 2, 2024
1 parent e075677 commit fe61121
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/PeriodicSystems.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1054,6 +1054,17 @@ end
# For backward compatibility: will be removed in 1.0
export PeriodicSystems
module PeriodicSystems
function __init__()
@warn begin """\n
Loading the `PeriodicSystems` submodule is no longer necessary in v0.8.30. Use only
using CellListMap
to access the structures and functions previously defined in `PeriodicSystems`.
The `PeriodicSystems` submodule will be completely removed in future breaking versions.
""" end _file=nothing _line=nothing
end
import ..CellListMap
using ..CellListMap: PeriodicSystem
export PeriodicSystem
Expand Down

0 comments on commit fe61121

Please sign in to comment.