3
0
mirror of https://github.com/triqs/dft_tools synced 2024-12-22 20:34:38 +01:00

Relative imports should only be used within modules

This commit is contained in:
Nils Wentzell 2020-04-08 16:07:20 -04:00
parent b2a5e93c1f
commit b2a447d07d
16 changed files with 34 additions and 34 deletions

View File

@ -2,10 +2,10 @@ r"""
Tests of 'parse_general()' defined in ConfigParameters class
"""
import os
from . import rpath
import rpath
_rpath = os.path.dirname(rpath.__file__) + '/'
from . import arraytest
import arraytest
import numpy as np
from triqs_dft_tools.converters.plovasp.inpconf import ConfigParameters

View File

@ -2,10 +2,10 @@ r"""
Tests of 'parse_groups()' defined in ConfigParameters class
"""
import os
from . import rpath
import rpath
_rpath = os.path.dirname(rpath.__file__) + '/'
from . import arraytest
import arraytest
import numpy as np
from triqs_dft_tools.converters.plovasp.inpconf import ConfigParameters

View File

@ -2,10 +2,10 @@ r"""
Tests of 'parse_input()' defined in ConfigParameters class
"""
import os
from . import rpath
import rpath
_rpath = os.path.dirname(rpath.__file__) + '/'
from . import arraytest
import arraytest
import numpy as np
from triqs_dft_tools.converters.plovasp.inpconf import ConfigParameters

View File

@ -2,10 +2,10 @@ r"""
Tests of 'parse_parameter_set()' defined in ConfigParameters class
"""
import os
from . import rpath
import rpath
_rpath = os.path.dirname(rpath.__file__) + '/'
from . import arraytest
import arraytest
import numpy as np
from triqs_dft_tools.converters.plovasp.inpconf import ConfigParameters

View File

@ -2,10 +2,10 @@ r"""
Tests of 'parse_shells()' defined in ConfigParameters class
"""
import os
from . import rpath
import rpath
_rpath = os.path.dirname(rpath.__file__) + '/'
from . import arraytest
import arraytest
import numpy as np
from triqs_dft_tools.converters.plovasp.inpconf import ConfigParameters

View File

@ -2,10 +2,10 @@ r"""
Tests of special parseres defined in ConfigParameters class
"""
import os
from . import rpath
import rpath
_rpath = os.path.dirname(rpath.__file__) + '/'
from . import arraytest
import arraytest
import numpy as np
from triqs_dft_tools.converters.plovasp.inpconf import ConfigParameters

View File

@ -1,13 +1,13 @@
import os
from . import rpath
import rpath
_rpath = os.path.dirname(rpath.__file__) + '/'
import numpy as np
from triqs_dft_tools.converters.plovasp.inpconf import ConfigParameters
from triqs_dft_tools.converters.plovasp.proj_shell import ProjectorShell
from triqs_dft_tools.converters.plovasp.proj_group import ProjectorGroup
from . import mytest
import mytest
################################################################################
#

View File

@ -1,6 +1,6 @@
import os
from . import rpath
import rpath
_rpath = os.path.dirname(rpath.__file__) + '/'
import numpy as np
@ -10,7 +10,7 @@ from triqs_dft_tools.converters.plovasp.inpconf import ConfigParameters
from triqs_dft_tools.converters.plovasp.proj_shell import ProjectorShell
from triqs_dft_tools.converters.plovasp.proj_group import ProjectorGroup
from pytriqs.archive import HDFArchive
from . import mytest
import mytest
################################################################################
#

View File

@ -1,6 +1,6 @@
import os
from . import rpath
import rpath
_rpath = os.path.dirname(rpath.__file__) + '/'
import numpy as np
@ -10,7 +10,7 @@ from triqs_dft_tools.converters.plovasp.inpconf import ConfigParameters
from triqs_dft_tools.converters.plovasp.proj_shell import ProjectorShell
from triqs_dft_tools.converters.plovasp.proj_group import ProjectorGroup
from pytriqs.archive import HDFArchive
from . import mytest
import mytest
################################################################################
#

View File

@ -1,6 +1,6 @@
import os
from . import rpath
import rpath
_rpath = os.path.dirname(rpath.__file__) + '/'
import numpy as np
@ -9,7 +9,7 @@ from triqs_dft_tools.converters.plovasp.elstruct import ElectronicStructure
from triqs_dft_tools.converters.plovasp.inpconf import ConfigParameters
from triqs_dft_tools.converters.plovasp.proj_shell import ProjectorShell
from triqs_dft_tools.converters.plovasp.proj_group import ProjectorGroup
from . import mytest
import mytest
################################################################################
#

View File

@ -1,6 +1,6 @@
import os
from . import rpath
import rpath
_rpath = os.path.dirname(rpath.__file__) + '/'
import numpy as np
@ -10,7 +10,7 @@ from triqs_dft_tools.converters.plovasp.inpconf import ConfigParameters
from triqs_dft_tools.converters.plovasp.proj_shell import ProjectorShell
from triqs_dft_tools.converters.plovasp.proj_group import ProjectorGroup
from pytriqs.archive import HDFArchive
from . import mytest
import mytest
################################################################################
#

View File

@ -1,6 +1,6 @@
import os
from . import rpath
import rpath
_rpath = os.path.dirname(rpath.__file__) + '/'
import numpy as np
@ -9,7 +9,7 @@ from triqs_dft_tools.converters.plovasp.elstruct import ElectronicStructure
from triqs_dft_tools.converters.plovasp.inpconf import ConfigParameters
from triqs_dft_tools.converters.plovasp.proj_shell import ProjectorShell
from triqs_dft_tools.converters.plovasp.proj_group import ProjectorGroup
from . import mytest
import mytest
################################################################################
#

View File

@ -2,10 +2,10 @@ r"""
Tests for class 'Doscar' from module 'vaspio'
"""
import os
from . import rpath
import rpath
_rpath = os.path.dirname(rpath.__file__) + '/'
from . import mytest
import mytest
import numpy as np
from triqs_dft_tools.converters.plovasp.vaspio import Doscar

View File

@ -2,10 +2,10 @@ r"""
Tests for class 'Eigneval' from module 'vaspio'
"""
import os
from . import rpath
import rpath
_rpath = os.path.dirname(rpath.__file__) + '/'
from . import mytest
import mytest
import numpy as np
from triqs_dft_tools.converters.plovasp.vaspio import Eigenval

View File

@ -2,10 +2,10 @@ r"""
Tests for class 'Ibzkpt' from module 'vaspio'
"""
import os
from . import rpath
import rpath
_rpath = os.path.dirname(rpath.__file__) + '/'
from . import mytest
import mytest
import numpy as np
from triqs_dft_tools.converters.plovasp.vaspio import Kpoints

View File

@ -2,10 +2,10 @@ r"""
Tests for class 'Poscar' from module 'vaspio'
"""
import os
from . import rpath
import rpath
_rpath = os.path.dirname(rpath.__file__) + '/'
from . import mytest
import mytest
import numpy as np
from triqs_dft_tools.converters.plovasp.vaspio import Poscar