From a3a05cbc761e4fabc3e16b91b7820963634b9cd8 Mon Sep 17 00:00:00 2001 From: Francois-Xavier Coudert Date: Fri, 12 Apr 2024 11:40:42 +0200 Subject: [PATCH] Fix imports --- src/ELATE/__init__.py | 4 ++++ src/ELATE/elate.py | 2 +- tests/test_init_1.py | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/ELATE/__init__.py b/src/ELATE/__init__.py index e69de29..8d9e34b 100644 --- a/src/ELATE/__init__.py +++ b/src/ELATE/__init__.py @@ -0,0 +1,4 @@ +# -*- coding: utf-8 -*- + +from .elastic import Elastic2D, Elastic, ElasticOrtho +from .elate import ELATE, ELATE_MaterialsProject, plot3D, wait3D diff --git a/src/ELATE/elate.py b/src/ELATE/elate.py index 46007ec..fd10550 100644 --- a/src/ELATE/elate.py +++ b/src/ELATE/elate.py @@ -16,7 +16,7 @@ import numpy as np from scipy import optimize -import elastic +from ELATE import elastic __author__ = "Romain Gaillac and François-Xavier Coudert" __version__ = "2024.03.15" diff --git a/tests/test_init_1.py b/tests/test_init_1.py index 1a0ac26..b8e5353 100644 --- a/tests/test_init_1.py +++ b/tests/test_init_1.py @@ -2,5 +2,5 @@ def test_init_1(): - import elastic + import ELATE