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:
parent
b2a5e93c1f
commit
b2a447d07d
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
################################################################################
|
||||
#
|
||||
|
@ -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
|
||||
|
||||
################################################################################
|
||||
#
|
||||
|
@ -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
|
||||
|
||||
################################################################################
|
||||
#
|
||||
|
@ -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
|
||||
|
||||
################################################################################
|
||||
#
|
||||
|
@ -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
|
||||
|
||||
################################################################################
|
||||
#
|
||||
|
@ -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
|
||||
|
||||
################################################################################
|
||||
#
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user