3
0
mirror of https://github.com/triqs/dft_tools synced 2024-12-21 11:53:41 +01:00

Fixed tests to make them runnable with build pytriqs

All imports inside the test cases refer now to paths relative
to TRIQS python library path. For example,

`import vaspio`

is replaced with

`import applications.dft.converters.plovasp.vasio`

In this way all tests can be executed wtih `build_pytriqs` provided
that the package is installed (the same practice as with other
'dft_tools' tests).

Also, the underscore can now be removed from subdirectory names
because there is no more conflict with module names.
This commit is contained in:
Oleg E. Peil 2016-03-10 12:24:05 +01:00
parent b47cc2f4d3
commit f86038a7fd
122 changed files with 35 additions and 35 deletions

View File

@ -7,7 +7,7 @@ _rpath = os.path.dirname(rpath.__file__) + '/'
import arraytest
import numpy as np
from inpconf import ConfigParameters
from applications.dft.converters.plovasp.inpconf import ConfigParameters
################################################################################
#

View File

@ -7,7 +7,7 @@ _rpath = os.path.dirname(rpath.__file__) + '/'
import arraytest
import numpy as np
from inpconf import ConfigParameters
from applications.dft.converters.plovasp.inpconf import ConfigParameters
################################################################################
#

View File

@ -7,7 +7,7 @@ _rpath = os.path.dirname(rpath.__file__) + '/'
import arraytest
import numpy as np
from inpconf import ConfigParameters
from applications.dft.converters.plovasp.inpconf import ConfigParameters
################################################################################
#

View File

@ -7,7 +7,7 @@ _rpath = os.path.dirname(rpath.__file__) + '/'
import arraytest
import numpy as np
from inpconf import ConfigParameters
from applications.dft.converters.plovasp.inpconf import ConfigParameters
################################################################################
#

View File

@ -7,7 +7,7 @@ _rpath = os.path.dirname(rpath.__file__) + '/'
import arraytest
import numpy as np
from inpconf import ConfigParameters
from applications.dft.converters.plovasp.inpconf import ConfigParameters
################################################################################
#

View File

@ -7,7 +7,7 @@ _rpath = os.path.dirname(rpath.__file__) + '/'
import arraytest
import numpy as np
from inpconf import ConfigParameters
from applications.dft.converters.plovasp.inpconf import ConfigParameters
################################################################################
#

View File

@ -1,8 +1,8 @@
import vaspio
from inpconf import ConfigParameters
from plotools import check_data_consistency
from elstruct import ElectronicStructure
import applications.dft.converters.plovasp.vaspio
from applications.dft.converters.plovasp.inpconf import ConfigParameters
from applications.dft.converters.plovasp.plotools import check_data_consistency
from applications.dft.converters.plovasp.elstruct import ElectronicStructure
import mytest
################################################################################

View File

@ -4,11 +4,11 @@ import rpath
_rpath = os.path.dirname(rpath.__file__) + '/'
import numpy as np
import vaspio
import elstruct
from inpconf import ConfigParameters
from proj_shell import ProjectorShell
from proj_group import ProjectorGroup
import applications.dft.converters.plovasp.vaspio
import applications.dft.converters.plovasp.elstruct
from applications.dft.converters.plovasp.inpconf import ConfigParameters
from applications.dft.converters.plovasp.proj_shell import ProjectorShell
from applications.dft.converters.plovasp.proj_group import ProjectorGroup
import mytest
################################################################################

View File

@ -4,11 +4,11 @@ import rpath
_rpath = os.path.dirname(rpath.__file__) + '/'
import numpy as np
import vaspio
import elstruct
from inpconf import ConfigParameters
from proj_shell import ProjectorShell
from proj_group import ProjectorGroup
import applications.dft.converters.plovasp.vaspio
import applications.dft.converters.plovasp.elstruct
from applications.dft.converters.plovasp.inpconf import ConfigParameters
from applications.dft.converters.plovasp.proj_shell import ProjectorShell
from applications.dft.converters.plovasp.proj_group import ProjectorGroup
import mytest
################################################################################

View File

@ -4,11 +4,11 @@ import rpath
_rpath = os.path.dirname(rpath.__file__) + '/'
import numpy as np
import vaspio
import elstruct
from inpconf import ConfigParameters
from proj_shell import ProjectorShell
from proj_group import ProjectorGroup
import applications.dft.converters.plovasp.vaspio
import applications.dft.converters.plovasp.elstruct
from applications.dft.converters.plovasp.inpconf import ConfigParameters
from applications.dft.converters.plovasp.proj_shell import ProjectorShell
from applications.dft.converters.plovasp.proj_group import ProjectorGroup
import mytest
################################################################################

View File

@ -4,11 +4,11 @@ import rpath
_rpath = os.path.dirname(rpath.__file__) + '/'
import numpy as np
import vaspio
import elstruct
from inpconf import ConfigParameters
from proj_shell import ProjectorShell
from proj_group import ProjectorGroup
import applications.dft.converters.plovasp.vaspio
import applications.dft.converters.plovasp.elstruct
from applications.dft.converters.plovasp.inpconf import ConfigParameters
from applications.dft.converters.plovasp.proj_shell import ProjectorShell
from applications.dft.converters.plovasp.proj_group import ProjectorGroup
import mytest
################################################################################

Some files were not shown because too many files have changed in this diff Show More