From c690e9dbe30728ab6ef08b7fa64c25df3ce6e45e Mon Sep 17 00:00:00 2001 From: Nick Papior Date: Wed, 14 Feb 2024 20:56:15 +0100 Subject: [PATCH] moved neighbor code to new folder Signed-off-by: Nick Papior --- src/sisl/geom/__init__.py | 2 +- src/sisl/geom/{neighs => _neighbors}/CMakeLists.txt | 0 src/sisl/geom/{neighs => _neighbors}/__init__.py | 0 src/sisl/geom/{neighs => _neighbors}/_finder.py | 0 src/sisl/geom/{neighs => _neighbors}/_operations.py | 0 src/sisl/geom/{neighs => _neighbors}/tests/test_finder.py | 0 6 files changed, 1 insertion(+), 1 deletion(-) rename src/sisl/geom/{neighs => _neighbors}/CMakeLists.txt (100%) rename src/sisl/geom/{neighs => _neighbors}/__init__.py (100%) rename src/sisl/geom/{neighs => _neighbors}/_finder.py (100%) rename src/sisl/geom/{neighs => _neighbors}/_operations.py (100%) rename src/sisl/geom/{neighs => _neighbors}/tests/test_finder.py (100%) diff --git a/src/sisl/geom/__init__.py b/src/sisl/geom/__init__.py index 910e7bf731..d67b727d0d 100644 --- a/src/sisl/geom/__init__.py +++ b/src/sisl/geom/__init__.py @@ -49,6 +49,6 @@ from .flat import * from .nanoribbon import * from .nanotube import * -from .neighs import * +from ._neighbors import * from .special import * from .surfaces import * diff --git a/src/sisl/geom/neighs/CMakeLists.txt b/src/sisl/geom/_neighbors/CMakeLists.txt similarity index 100% rename from src/sisl/geom/neighs/CMakeLists.txt rename to src/sisl/geom/_neighbors/CMakeLists.txt diff --git a/src/sisl/geom/neighs/__init__.py b/src/sisl/geom/_neighbors/__init__.py similarity index 100% rename from src/sisl/geom/neighs/__init__.py rename to src/sisl/geom/_neighbors/__init__.py diff --git a/src/sisl/geom/neighs/_finder.py b/src/sisl/geom/_neighbors/_finder.py similarity index 100% rename from src/sisl/geom/neighs/_finder.py rename to src/sisl/geom/_neighbors/_finder.py diff --git a/src/sisl/geom/neighs/_operations.py b/src/sisl/geom/_neighbors/_operations.py similarity index 100% rename from src/sisl/geom/neighs/_operations.py rename to src/sisl/geom/_neighbors/_operations.py diff --git a/src/sisl/geom/neighs/tests/test_finder.py b/src/sisl/geom/_neighbors/tests/test_finder.py similarity index 100% rename from src/sisl/geom/neighs/tests/test_finder.py rename to src/sisl/geom/_neighbors/tests/test_finder.py