From f86038a7fd2c408a30a8c0f71d960a80f308545f Mon Sep 17 00:00:00 2001 From: "Oleg E. Peil" Date: Thu, 10 Mar 2016 12:24:05 +0100 Subject: [PATCH] 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. --- test/plovasp/{_inpconf => inpconf}/.gitignore | 0 test/plovasp/{_inpconf => inpconf}/__init__.py | 0 test/plovasp/{_inpconf => inpconf}/arraytest.py | 0 test/plovasp/{_inpconf => inpconf}/example.cfg | 0 .../{_inpconf => inpconf}/example_nogroup.cfg | 0 test/plovasp/{_inpconf => inpconf}/input_test_1.cfg | 0 test/plovasp/{_inpconf => inpconf}/input_test_2.cfg | 0 test/plovasp/{_inpconf => inpconf}/input_test_3.cfg | 0 test/plovasp/{_inpconf => inpconf}/input_test_4.cfg | 0 .../{_inpconf => inpconf}/parse_groups_1.cfg | 0 .../{_inpconf => inpconf}/parse_shells_1.cfg | 0 .../{_inpconf => inpconf}/parse_shells_2.cfg | 0 .../{_inpconf => inpconf}/parse_shells_3.cfg | 0 .../{_inpconf => inpconf}/parse_shells_4.cfg | 0 test/plovasp/{_inpconf => inpconf}/rpath.py | 0 test/plovasp/{_inpconf => inpconf}/runtest.sh | 0 test/plovasp/{_inpconf => inpconf}/test1.cfg | 0 test/plovasp/{_inpconf => inpconf}/test_all.py | 0 test/plovasp/{_inpconf => inpconf}/test_general.py | 2 +- test/plovasp/{_inpconf => inpconf}/test_groups.py | 2 +- test/plovasp/{_inpconf => inpconf}/test_input.py | 2 +- .../{_inpconf => inpconf}/test_parameter_set.py | 2 +- test/plovasp/{_inpconf => inpconf}/test_shells.py | 2 +- .../{_inpconf => inpconf}/test_special_parsers.py | 2 +- test/plovasp/{_inpconf => inpconf}/tmatrix_file.dat | 0 test/plovasp/{_plocar_io => plocar_io}/.gitignore | 0 .../{_plocar_io => plocar_io}/PLOCAR.example | Bin .../{_plocar_io => plocar_io}/PLOCAR.example.out | 0 .../plovasp/{_plocar_io => plocar_io}/PLOCAR.noprec | 0 test/plovasp/{_plocar_io => plocar_io}/PLOCAR.prec8 | Bin .../{_plocar_io => plocar_io}/PLOCAR.prec8.out | 0 test/plovasp/{_plocar_io => plocar_io}/PLOCAR.trunc | Bin test/plovasp/{_plocar_io => plocar_io}/mytest.py | 0 test/plovasp/{_plocar_io => plocar_io}/runtest.sh | 0 .../{_plocar_io => plocar_io}/test_fileio.py | 0 .../{_plocar_io => plocar_io}/test_plocar_io.py | 0 test/plovasp/{_plotools => plotools}/.gitignore | 0 test/plovasp/{_plotools => plotools}/DOSCAR | 0 test/plovasp/{_plotools => plotools}/EIGENVAL | 0 test/plovasp/{_plotools => plotools}/IBZKPT | 0 test/plovasp/{_plotools => plotools}/OUTCAR | 0 test/plovasp/{_plotools => plotools}/PLOCAR | Bin test/plovasp/{_plotools => plotools}/POSCAR | 0 test/plovasp/{_plotools => plotools}/POSCAR.complex | 0 test/plovasp/{_plotools => plotools}/example.cfg | 0 test/plovasp/{_plotools => plotools}/mytest.py | 0 test/plovasp/{_plotools => plotools}/runtest.sh | 0 test/plovasp/{_plotools => plotools}/test_all.py | 0 .../{_plotools => plotools}/test_consistency.py | 8 ++++---- .../plovasp/{_plotools => plotools}/wrong_shell.cfg | 0 test/plovasp/{_proj_group => proj_group}/.gitignore | 0 .../plovasp/{_proj_group => proj_group}/__init__.py | 0 .../{_proj_group => proj_group}/block_matrix.cfg | 0 .../plovasp/{_proj_group => proj_group}/example.cfg | 0 .../example_two_site.cfg | 0 test/plovasp/{_proj_group => proj_group}/mytest.py | 0 .../{_proj_group => proj_group}/one_site/DOSCAR | 0 .../{_proj_group => proj_group}/one_site/EIGENVAL | 0 .../{_proj_group => proj_group}/one_site/IBZKPT | 0 .../{_proj_group => proj_group}/one_site/LOCPROJ | 0 .../{_proj_group => proj_group}/one_site/POSCAR | 0 .../{_proj_group => proj_group}/projgroups.out | 0 .../{_proj_group => proj_group}/projortho.out | 0 .../{_proj_group => proj_group}/projortho_2site.out | 0 .../projortho_normion.out | 0 test/plovasp/{_proj_group => proj_group}/rpath.py | 0 test/plovasp/{_proj_group => proj_group}/runtest.sh | 0 test/plovasp/{_proj_group => proj_group}/simple.cfg | 0 .../{_proj_group => proj_group}/simple/DOSCAR | 0 .../{_proj_group => proj_group}/simple/EIGENVAL | 0 .../{_proj_group => proj_group}/simple/IBZKPT | 0 .../{_proj_group => proj_group}/simple/LOCPROJ | 0 .../{_proj_group => proj_group}/simple/POSCAR | 0 .../{_proj_group => proj_group}/simple/PROJCAR | 0 .../plovasp/{_proj_group => proj_group}/test_all.py | 0 .../{_proj_group => proj_group}/test_block_map.py | 10 +++++----- .../{_proj_group => proj_group}/test_one_site.py | 10 +++++----- .../test_select_bands.py | 10 +++++----- .../{_proj_group => proj_group}/test_two_site.py | 10 +++++----- .../{_proj_group => proj_group}/two_site/DOSCAR | 0 .../{_proj_group => proj_group}/two_site/EIGENVAL | 0 .../{_proj_group => proj_group}/two_site/IBZKPT | 0 .../{_proj_group => proj_group}/two_site/LOCPROJ | 0 .../{_proj_group => proj_group}/two_site/POSCAR | 0 .../{_proj_group => proj_group}/two_site/PROJCAR | 0 test/plovasp/{_proj_shell => proj_shell}/.gitignore | 0 .../plovasp/{_proj_shell => proj_shell}/__init__.py | 0 .../plovasp/{_proj_shell => proj_shell}/densmat.out | 0 .../plovasp/{_proj_shell => proj_shell}/example.cfg | 0 test/plovasp/{_proj_shell => proj_shell}/mytest.py | 0 .../{_proj_shell => proj_shell}/one_site/DOSCAR | 0 .../{_proj_shell => proj_shell}/one_site/EIGENVAL | 0 .../{_proj_shell => proj_shell}/one_site/IBZKPT | 0 .../{_proj_shell => proj_shell}/one_site/LOCPROJ | 0 .../{_proj_shell => proj_shell}/one_site/POSCAR | 0 .../{_proj_shell => proj_shell}/one_site/PROJCAR | 0 .../{_proj_shell => proj_shell}/projshells.out | 0 test/plovasp/{_proj_shell => proj_shell}/rpath.py | 0 test/plovasp/{_proj_shell => proj_shell}/runtest.sh | 0 .../plovasp/{_proj_shell => proj_shell}/test_all.py | 0 .../{_proj_shell => proj_shell}/test_projshells.py | 10 +++++----- test/plovasp/{_vaspio => vaspio}/.gitignore | 0 test/plovasp/{_vaspio => vaspio}/DOSCAR.example | 0 test/plovasp/{_vaspio => vaspio}/EIGENVAL.example | 0 .../{_vaspio => vaspio}/EIGENVAL.example.out | 0 test/plovasp/{_vaspio => vaspio}/EIGENVAL.wrong | 0 test/plovasp/{_vaspio => vaspio}/IBZKPT.example | 0 test/plovasp/{_vaspio => vaspio}/IBZKPT.example.out | 0 test/plovasp/{_vaspio => vaspio}/IBZKPT.notet | 0 test/plovasp/{_vaspio => vaspio}/IBZKPT.notet.out | 0 test/plovasp/{_vaspio => vaspio}/POSCAR.complex | 0 test/plovasp/{_vaspio => vaspio}/POSCAR.example | 0 test/plovasp/{_vaspio => vaspio}/POSCAR.example.out | 0 test/plovasp/{_vaspio => vaspio}/__init__.py | 0 test/plovasp/{_vaspio => vaspio}/mytest.py | 0 test/plovasp/{_vaspio => vaspio}/rpath.py | 0 test/plovasp/{_vaspio => vaspio}/runtest.sh | 0 test/plovasp/{_vaspio => vaspio}/test_all.py | 0 test/plovasp/{_vaspio => vaspio}/test_doscar.py | 0 test/plovasp/{_vaspio => vaspio}/test_eigenval.py | 0 test/plovasp/{_vaspio => vaspio}/test_kpoints.py | 0 test/plovasp/{_vaspio => vaspio}/test_poscar.py | 0 122 files changed, 35 insertions(+), 35 deletions(-) rename test/plovasp/{_inpconf => inpconf}/.gitignore (100%) rename test/plovasp/{_inpconf => inpconf}/__init__.py (100%) rename test/plovasp/{_inpconf => inpconf}/arraytest.py (100%) rename test/plovasp/{_inpconf => inpconf}/example.cfg (100%) rename test/plovasp/{_inpconf => inpconf}/example_nogroup.cfg (100%) rename test/plovasp/{_inpconf => inpconf}/input_test_1.cfg (100%) rename test/plovasp/{_inpconf => inpconf}/input_test_2.cfg (100%) rename test/plovasp/{_inpconf => inpconf}/input_test_3.cfg (100%) rename test/plovasp/{_inpconf => inpconf}/input_test_4.cfg (100%) rename test/plovasp/{_inpconf => inpconf}/parse_groups_1.cfg (100%) rename test/plovasp/{_inpconf => inpconf}/parse_shells_1.cfg (100%) rename test/plovasp/{_inpconf => inpconf}/parse_shells_2.cfg (100%) rename test/plovasp/{_inpconf => inpconf}/parse_shells_3.cfg (100%) rename test/plovasp/{_inpconf => inpconf}/parse_shells_4.cfg (100%) rename test/plovasp/{_inpconf => inpconf}/rpath.py (100%) rename test/plovasp/{_inpconf => inpconf}/runtest.sh (100%) rename test/plovasp/{_inpconf => inpconf}/test1.cfg (100%) rename test/plovasp/{_inpconf => inpconf}/test_all.py (100%) rename test/plovasp/{_inpconf => inpconf}/test_general.py (92%) rename test/plovasp/{_inpconf => inpconf}/test_groups.py (95%) rename test/plovasp/{_inpconf => inpconf}/test_input.py (98%) rename test/plovasp/{_inpconf => inpconf}/test_parameter_set.py (95%) rename test/plovasp/{_inpconf => inpconf}/test_shells.py (97%) rename test/plovasp/{_inpconf => inpconf}/test_special_parsers.py (99%) rename test/plovasp/{_inpconf => inpconf}/tmatrix_file.dat (100%) rename test/plovasp/{_plocar_io => plocar_io}/.gitignore (100%) rename test/plovasp/{_plocar_io => plocar_io}/PLOCAR.example (100%) rename test/plovasp/{_plocar_io => plocar_io}/PLOCAR.example.out (100%) rename test/plovasp/{_plocar_io => plocar_io}/PLOCAR.noprec (100%) rename test/plovasp/{_plocar_io => plocar_io}/PLOCAR.prec8 (100%) rename test/plovasp/{_plocar_io => plocar_io}/PLOCAR.prec8.out (100%) rename test/plovasp/{_plocar_io => plocar_io}/PLOCAR.trunc (100%) rename test/plovasp/{_plocar_io => plocar_io}/mytest.py (100%) rename test/plovasp/{_plocar_io => plocar_io}/runtest.sh (100%) rename test/plovasp/{_plocar_io => plocar_io}/test_fileio.py (100%) rename test/plovasp/{_plocar_io => plocar_io}/test_plocar_io.py (100%) rename test/plovasp/{_plotools => plotools}/.gitignore (100%) rename test/plovasp/{_plotools => plotools}/DOSCAR (100%) rename test/plovasp/{_plotools => plotools}/EIGENVAL (100%) rename test/plovasp/{_plotools => plotools}/IBZKPT (100%) rename test/plovasp/{_plotools => plotools}/OUTCAR (100%) rename test/plovasp/{_plotools => plotools}/PLOCAR (100%) rename test/plovasp/{_plotools => plotools}/POSCAR (100%) rename test/plovasp/{_plotools => plotools}/POSCAR.complex (100%) rename test/plovasp/{_plotools => plotools}/example.cfg (100%) rename test/plovasp/{_plotools => plotools}/mytest.py (100%) rename test/plovasp/{_plotools => plotools}/runtest.sh (100%) rename test/plovasp/{_plotools => plotools}/test_all.py (100%) rename test/plovasp/{_plotools => plotools}/test_consistency.py (78%) rename test/plovasp/{_plotools => plotools}/wrong_shell.cfg (100%) rename test/plovasp/{_proj_group => proj_group}/.gitignore (100%) rename test/plovasp/{_proj_group => proj_group}/__init__.py (100%) rename test/plovasp/{_proj_group => proj_group}/block_matrix.cfg (100%) rename test/plovasp/{_proj_group => proj_group}/example.cfg (100%) rename test/plovasp/{_proj_group => proj_group}/example_two_site.cfg (100%) rename test/plovasp/{_proj_group => proj_group}/mytest.py (100%) rename test/plovasp/{_proj_group => proj_group}/one_site/DOSCAR (100%) rename test/plovasp/{_proj_group => proj_group}/one_site/EIGENVAL (100%) rename test/plovasp/{_proj_group => proj_group}/one_site/IBZKPT (100%) rename test/plovasp/{_proj_group => proj_group}/one_site/LOCPROJ (100%) rename test/plovasp/{_proj_group => proj_group}/one_site/POSCAR (100%) rename test/plovasp/{_proj_group => proj_group}/projgroups.out (100%) rename test/plovasp/{_proj_group => proj_group}/projortho.out (100%) rename test/plovasp/{_proj_group => proj_group}/projortho_2site.out (100%) rename test/plovasp/{_proj_group => proj_group}/projortho_normion.out (100%) rename test/plovasp/{_proj_group => proj_group}/rpath.py (100%) rename test/plovasp/{_proj_group => proj_group}/runtest.sh (100%) rename test/plovasp/{_proj_group => proj_group}/simple.cfg (100%) rename test/plovasp/{_proj_group => proj_group}/simple/DOSCAR (100%) rename test/plovasp/{_proj_group => proj_group}/simple/EIGENVAL (100%) rename test/plovasp/{_proj_group => proj_group}/simple/IBZKPT (100%) rename test/plovasp/{_proj_group => proj_group}/simple/LOCPROJ (100%) rename test/plovasp/{_proj_group => proj_group}/simple/POSCAR (100%) rename test/plovasp/{_proj_group => proj_group}/simple/PROJCAR (100%) rename test/plovasp/{_proj_group => proj_group}/test_all.py (100%) rename test/plovasp/{_proj_group => proj_group}/test_block_map.py (90%) rename test/plovasp/{_proj_group => proj_group}/test_one_site.py (86%) rename test/plovasp/{_proj_group => proj_group}/test_select_bands.py (86%) rename test/plovasp/{_proj_group => proj_group}/test_two_site.py (88%) rename test/plovasp/{_proj_group => proj_group}/two_site/DOSCAR (100%) rename test/plovasp/{_proj_group => proj_group}/two_site/EIGENVAL (100%) rename test/plovasp/{_proj_group => proj_group}/two_site/IBZKPT (100%) rename test/plovasp/{_proj_group => proj_group}/two_site/LOCPROJ (100%) rename test/plovasp/{_proj_group => proj_group}/two_site/POSCAR (100%) rename test/plovasp/{_proj_group => proj_group}/two_site/PROJCAR (100%) rename test/plovasp/{_proj_shell => proj_shell}/.gitignore (100%) rename test/plovasp/{_proj_shell => proj_shell}/__init__.py (100%) rename test/plovasp/{_proj_shell => proj_shell}/densmat.out (100%) rename test/plovasp/{_proj_shell => proj_shell}/example.cfg (100%) rename test/plovasp/{_proj_shell => proj_shell}/mytest.py (100%) rename test/plovasp/{_proj_shell => proj_shell}/one_site/DOSCAR (100%) rename test/plovasp/{_proj_shell => proj_shell}/one_site/EIGENVAL (100%) rename test/plovasp/{_proj_shell => proj_shell}/one_site/IBZKPT (100%) rename test/plovasp/{_proj_shell => proj_shell}/one_site/LOCPROJ (100%) rename test/plovasp/{_proj_shell => proj_shell}/one_site/POSCAR (100%) rename test/plovasp/{_proj_shell => proj_shell}/one_site/PROJCAR (100%) rename test/plovasp/{_proj_shell => proj_shell}/projshells.out (100%) rename test/plovasp/{_proj_shell => proj_shell}/rpath.py (100%) rename test/plovasp/{_proj_shell => proj_shell}/runtest.sh (100%) rename test/plovasp/{_proj_shell => proj_shell}/test_all.py (100%) rename test/plovasp/{_proj_shell => proj_shell}/test_projshells.py (88%) rename test/plovasp/{_vaspio => vaspio}/.gitignore (100%) rename test/plovasp/{_vaspio => vaspio}/DOSCAR.example (100%) rename test/plovasp/{_vaspio => vaspio}/EIGENVAL.example (100%) rename test/plovasp/{_vaspio => vaspio}/EIGENVAL.example.out (100%) rename test/plovasp/{_vaspio => vaspio}/EIGENVAL.wrong (100%) rename test/plovasp/{_vaspio => vaspio}/IBZKPT.example (100%) rename test/plovasp/{_vaspio => vaspio}/IBZKPT.example.out (100%) rename test/plovasp/{_vaspio => vaspio}/IBZKPT.notet (100%) rename test/plovasp/{_vaspio => vaspio}/IBZKPT.notet.out (100%) rename test/plovasp/{_vaspio => vaspio}/POSCAR.complex (100%) rename test/plovasp/{_vaspio => vaspio}/POSCAR.example (100%) rename test/plovasp/{_vaspio => vaspio}/POSCAR.example.out (100%) rename test/plovasp/{_vaspio => vaspio}/__init__.py (100%) rename test/plovasp/{_vaspio => vaspio}/mytest.py (100%) rename test/plovasp/{_vaspio => vaspio}/rpath.py (100%) rename test/plovasp/{_vaspio => vaspio}/runtest.sh (100%) rename test/plovasp/{_vaspio => vaspio}/test_all.py (100%) rename test/plovasp/{_vaspio => vaspio}/test_doscar.py (100%) rename test/plovasp/{_vaspio => vaspio}/test_eigenval.py (100%) rename test/plovasp/{_vaspio => vaspio}/test_kpoints.py (100%) rename test/plovasp/{_vaspio => vaspio}/test_poscar.py (100%) diff --git a/test/plovasp/_inpconf/.gitignore b/test/plovasp/inpconf/.gitignore similarity index 100% rename from test/plovasp/_inpconf/.gitignore rename to test/plovasp/inpconf/.gitignore diff --git a/test/plovasp/_inpconf/__init__.py b/test/plovasp/inpconf/__init__.py similarity index 100% rename from test/plovasp/_inpconf/__init__.py rename to test/plovasp/inpconf/__init__.py diff --git a/test/plovasp/_inpconf/arraytest.py b/test/plovasp/inpconf/arraytest.py similarity index 100% rename from test/plovasp/_inpconf/arraytest.py rename to test/plovasp/inpconf/arraytest.py diff --git a/test/plovasp/_inpconf/example.cfg b/test/plovasp/inpconf/example.cfg similarity index 100% rename from test/plovasp/_inpconf/example.cfg rename to test/plovasp/inpconf/example.cfg diff --git a/test/plovasp/_inpconf/example_nogroup.cfg b/test/plovasp/inpconf/example_nogroup.cfg similarity index 100% rename from test/plovasp/_inpconf/example_nogroup.cfg rename to test/plovasp/inpconf/example_nogroup.cfg diff --git a/test/plovasp/_inpconf/input_test_1.cfg b/test/plovasp/inpconf/input_test_1.cfg similarity index 100% rename from test/plovasp/_inpconf/input_test_1.cfg rename to test/plovasp/inpconf/input_test_1.cfg diff --git a/test/plovasp/_inpconf/input_test_2.cfg b/test/plovasp/inpconf/input_test_2.cfg similarity index 100% rename from test/plovasp/_inpconf/input_test_2.cfg rename to test/plovasp/inpconf/input_test_2.cfg diff --git a/test/plovasp/_inpconf/input_test_3.cfg b/test/plovasp/inpconf/input_test_3.cfg similarity index 100% rename from test/plovasp/_inpconf/input_test_3.cfg rename to test/plovasp/inpconf/input_test_3.cfg diff --git a/test/plovasp/_inpconf/input_test_4.cfg b/test/plovasp/inpconf/input_test_4.cfg similarity index 100% rename from test/plovasp/_inpconf/input_test_4.cfg rename to test/plovasp/inpconf/input_test_4.cfg diff --git a/test/plovasp/_inpconf/parse_groups_1.cfg b/test/plovasp/inpconf/parse_groups_1.cfg similarity index 100% rename from test/plovasp/_inpconf/parse_groups_1.cfg rename to test/plovasp/inpconf/parse_groups_1.cfg diff --git a/test/plovasp/_inpconf/parse_shells_1.cfg b/test/plovasp/inpconf/parse_shells_1.cfg similarity index 100% rename from test/plovasp/_inpconf/parse_shells_1.cfg rename to test/plovasp/inpconf/parse_shells_1.cfg diff --git a/test/plovasp/_inpconf/parse_shells_2.cfg b/test/plovasp/inpconf/parse_shells_2.cfg similarity index 100% rename from test/plovasp/_inpconf/parse_shells_2.cfg rename to test/plovasp/inpconf/parse_shells_2.cfg diff --git a/test/plovasp/_inpconf/parse_shells_3.cfg b/test/plovasp/inpconf/parse_shells_3.cfg similarity index 100% rename from test/plovasp/_inpconf/parse_shells_3.cfg rename to test/plovasp/inpconf/parse_shells_3.cfg diff --git a/test/plovasp/_inpconf/parse_shells_4.cfg b/test/plovasp/inpconf/parse_shells_4.cfg similarity index 100% rename from test/plovasp/_inpconf/parse_shells_4.cfg rename to test/plovasp/inpconf/parse_shells_4.cfg diff --git a/test/plovasp/_inpconf/rpath.py b/test/plovasp/inpconf/rpath.py similarity index 100% rename from test/plovasp/_inpconf/rpath.py rename to test/plovasp/inpconf/rpath.py diff --git a/test/plovasp/_inpconf/runtest.sh b/test/plovasp/inpconf/runtest.sh similarity index 100% rename from test/plovasp/_inpconf/runtest.sh rename to test/plovasp/inpconf/runtest.sh diff --git a/test/plovasp/_inpconf/test1.cfg b/test/plovasp/inpconf/test1.cfg similarity index 100% rename from test/plovasp/_inpconf/test1.cfg rename to test/plovasp/inpconf/test1.cfg diff --git a/test/plovasp/_inpconf/test_all.py b/test/plovasp/inpconf/test_all.py similarity index 100% rename from test/plovasp/_inpconf/test_all.py rename to test/plovasp/inpconf/test_all.py diff --git a/test/plovasp/_inpconf/test_general.py b/test/plovasp/inpconf/test_general.py similarity index 92% rename from test/plovasp/_inpconf/test_general.py rename to test/plovasp/inpconf/test_general.py index c388c95e..f5cff3a5 100644 --- a/test/plovasp/_inpconf/test_general.py +++ b/test/plovasp/inpconf/test_general.py @@ -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 ################################################################################ # diff --git a/test/plovasp/_inpconf/test_groups.py b/test/plovasp/inpconf/test_groups.py similarity index 95% rename from test/plovasp/_inpconf/test_groups.py rename to test/plovasp/inpconf/test_groups.py index 3559ae2a..891990b5 100644 --- a/test/plovasp/_inpconf/test_groups.py +++ b/test/plovasp/inpconf/test_groups.py @@ -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 ################################################################################ # diff --git a/test/plovasp/_inpconf/test_input.py b/test/plovasp/inpconf/test_input.py similarity index 98% rename from test/plovasp/_inpconf/test_input.py rename to test/plovasp/inpconf/test_input.py index d648f23d..585d6e25 100644 --- a/test/plovasp/_inpconf/test_input.py +++ b/test/plovasp/inpconf/test_input.py @@ -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 ################################################################################ # diff --git a/test/plovasp/_inpconf/test_parameter_set.py b/test/plovasp/inpconf/test_parameter_set.py similarity index 95% rename from test/plovasp/_inpconf/test_parameter_set.py rename to test/plovasp/inpconf/test_parameter_set.py index f8d7f427..674cd6cf 100644 --- a/test/plovasp/_inpconf/test_parameter_set.py +++ b/test/plovasp/inpconf/test_parameter_set.py @@ -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 ################################################################################ # diff --git a/test/plovasp/_inpconf/test_shells.py b/test/plovasp/inpconf/test_shells.py similarity index 97% rename from test/plovasp/_inpconf/test_shells.py rename to test/plovasp/inpconf/test_shells.py index 15848fad..90d9c8e4 100644 --- a/test/plovasp/_inpconf/test_shells.py +++ b/test/plovasp/inpconf/test_shells.py @@ -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 ################################################################################ # diff --git a/test/plovasp/_inpconf/test_special_parsers.py b/test/plovasp/inpconf/test_special_parsers.py similarity index 99% rename from test/plovasp/_inpconf/test_special_parsers.py rename to test/plovasp/inpconf/test_special_parsers.py index b4ffc697..2631e51c 100644 --- a/test/plovasp/_inpconf/test_special_parsers.py +++ b/test/plovasp/inpconf/test_special_parsers.py @@ -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 ################################################################################ # diff --git a/test/plovasp/_inpconf/tmatrix_file.dat b/test/plovasp/inpconf/tmatrix_file.dat similarity index 100% rename from test/plovasp/_inpconf/tmatrix_file.dat rename to test/plovasp/inpconf/tmatrix_file.dat diff --git a/test/plovasp/_plocar_io/.gitignore b/test/plovasp/plocar_io/.gitignore similarity index 100% rename from test/plovasp/_plocar_io/.gitignore rename to test/plovasp/plocar_io/.gitignore diff --git a/test/plovasp/_plocar_io/PLOCAR.example b/test/plovasp/plocar_io/PLOCAR.example similarity index 100% rename from test/plovasp/_plocar_io/PLOCAR.example rename to test/plovasp/plocar_io/PLOCAR.example diff --git a/test/plovasp/_plocar_io/PLOCAR.example.out b/test/plovasp/plocar_io/PLOCAR.example.out similarity index 100% rename from test/plovasp/_plocar_io/PLOCAR.example.out rename to test/plovasp/plocar_io/PLOCAR.example.out diff --git a/test/plovasp/_plocar_io/PLOCAR.noprec b/test/plovasp/plocar_io/PLOCAR.noprec similarity index 100% rename from test/plovasp/_plocar_io/PLOCAR.noprec rename to test/plovasp/plocar_io/PLOCAR.noprec diff --git a/test/plovasp/_plocar_io/PLOCAR.prec8 b/test/plovasp/plocar_io/PLOCAR.prec8 similarity index 100% rename from test/plovasp/_plocar_io/PLOCAR.prec8 rename to test/plovasp/plocar_io/PLOCAR.prec8 diff --git a/test/plovasp/_plocar_io/PLOCAR.prec8.out b/test/plovasp/plocar_io/PLOCAR.prec8.out similarity index 100% rename from test/plovasp/_plocar_io/PLOCAR.prec8.out rename to test/plovasp/plocar_io/PLOCAR.prec8.out diff --git a/test/plovasp/_plocar_io/PLOCAR.trunc b/test/plovasp/plocar_io/PLOCAR.trunc similarity index 100% rename from test/plovasp/_plocar_io/PLOCAR.trunc rename to test/plovasp/plocar_io/PLOCAR.trunc diff --git a/test/plovasp/_plocar_io/mytest.py b/test/plovasp/plocar_io/mytest.py similarity index 100% rename from test/plovasp/_plocar_io/mytest.py rename to test/plovasp/plocar_io/mytest.py diff --git a/test/plovasp/_plocar_io/runtest.sh b/test/plovasp/plocar_io/runtest.sh similarity index 100% rename from test/plovasp/_plocar_io/runtest.sh rename to test/plovasp/plocar_io/runtest.sh diff --git a/test/plovasp/_plocar_io/test_fileio.py b/test/plovasp/plocar_io/test_fileio.py similarity index 100% rename from test/plovasp/_plocar_io/test_fileio.py rename to test/plovasp/plocar_io/test_fileio.py diff --git a/test/plovasp/_plocar_io/test_plocar_io.py b/test/plovasp/plocar_io/test_plocar_io.py similarity index 100% rename from test/plovasp/_plocar_io/test_plocar_io.py rename to test/plovasp/plocar_io/test_plocar_io.py diff --git a/test/plovasp/_plotools/.gitignore b/test/plovasp/plotools/.gitignore similarity index 100% rename from test/plovasp/_plotools/.gitignore rename to test/plovasp/plotools/.gitignore diff --git a/test/plovasp/_plotools/DOSCAR b/test/plovasp/plotools/DOSCAR similarity index 100% rename from test/plovasp/_plotools/DOSCAR rename to test/plovasp/plotools/DOSCAR diff --git a/test/plovasp/_plotools/EIGENVAL b/test/plovasp/plotools/EIGENVAL similarity index 100% rename from test/plovasp/_plotools/EIGENVAL rename to test/plovasp/plotools/EIGENVAL diff --git a/test/plovasp/_plotools/IBZKPT b/test/plovasp/plotools/IBZKPT similarity index 100% rename from test/plovasp/_plotools/IBZKPT rename to test/plovasp/plotools/IBZKPT diff --git a/test/plovasp/_plotools/OUTCAR b/test/plovasp/plotools/OUTCAR similarity index 100% rename from test/plovasp/_plotools/OUTCAR rename to test/plovasp/plotools/OUTCAR diff --git a/test/plovasp/_plotools/PLOCAR b/test/plovasp/plotools/PLOCAR similarity index 100% rename from test/plovasp/_plotools/PLOCAR rename to test/plovasp/plotools/PLOCAR diff --git a/test/plovasp/_plotools/POSCAR b/test/plovasp/plotools/POSCAR similarity index 100% rename from test/plovasp/_plotools/POSCAR rename to test/plovasp/plotools/POSCAR diff --git a/test/plovasp/_plotools/POSCAR.complex b/test/plovasp/plotools/POSCAR.complex similarity index 100% rename from test/plovasp/_plotools/POSCAR.complex rename to test/plovasp/plotools/POSCAR.complex diff --git a/test/plovasp/_plotools/example.cfg b/test/plovasp/plotools/example.cfg similarity index 100% rename from test/plovasp/_plotools/example.cfg rename to test/plovasp/plotools/example.cfg diff --git a/test/plovasp/_plotools/mytest.py b/test/plovasp/plotools/mytest.py similarity index 100% rename from test/plovasp/_plotools/mytest.py rename to test/plovasp/plotools/mytest.py diff --git a/test/plovasp/_plotools/runtest.sh b/test/plovasp/plotools/runtest.sh similarity index 100% rename from test/plovasp/_plotools/runtest.sh rename to test/plovasp/plotools/runtest.sh diff --git a/test/plovasp/_plotools/test_all.py b/test/plovasp/plotools/test_all.py similarity index 100% rename from test/plovasp/_plotools/test_all.py rename to test/plovasp/plotools/test_all.py diff --git a/test/plovasp/_plotools/test_consistency.py b/test/plovasp/plotools/test_consistency.py similarity index 78% rename from test/plovasp/_plotools/test_consistency.py rename to test/plovasp/plotools/test_consistency.py index bf0a7c0a..52b94f13 100644 --- a/test/plovasp/_plotools/test_consistency.py +++ b/test/plovasp/plotools/test_consistency.py @@ -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 ################################################################################ diff --git a/test/plovasp/_plotools/wrong_shell.cfg b/test/plovasp/plotools/wrong_shell.cfg similarity index 100% rename from test/plovasp/_plotools/wrong_shell.cfg rename to test/plovasp/plotools/wrong_shell.cfg diff --git a/test/plovasp/_proj_group/.gitignore b/test/plovasp/proj_group/.gitignore similarity index 100% rename from test/plovasp/_proj_group/.gitignore rename to test/plovasp/proj_group/.gitignore diff --git a/test/plovasp/_proj_group/__init__.py b/test/plovasp/proj_group/__init__.py similarity index 100% rename from test/plovasp/_proj_group/__init__.py rename to test/plovasp/proj_group/__init__.py diff --git a/test/plovasp/_proj_group/block_matrix.cfg b/test/plovasp/proj_group/block_matrix.cfg similarity index 100% rename from test/plovasp/_proj_group/block_matrix.cfg rename to test/plovasp/proj_group/block_matrix.cfg diff --git a/test/plovasp/_proj_group/example.cfg b/test/plovasp/proj_group/example.cfg similarity index 100% rename from test/plovasp/_proj_group/example.cfg rename to test/plovasp/proj_group/example.cfg diff --git a/test/plovasp/_proj_group/example_two_site.cfg b/test/plovasp/proj_group/example_two_site.cfg similarity index 100% rename from test/plovasp/_proj_group/example_two_site.cfg rename to test/plovasp/proj_group/example_two_site.cfg diff --git a/test/plovasp/_proj_group/mytest.py b/test/plovasp/proj_group/mytest.py similarity index 100% rename from test/plovasp/_proj_group/mytest.py rename to test/plovasp/proj_group/mytest.py diff --git a/test/plovasp/_proj_group/one_site/DOSCAR b/test/plovasp/proj_group/one_site/DOSCAR similarity index 100% rename from test/plovasp/_proj_group/one_site/DOSCAR rename to test/plovasp/proj_group/one_site/DOSCAR diff --git a/test/plovasp/_proj_group/one_site/EIGENVAL b/test/plovasp/proj_group/one_site/EIGENVAL similarity index 100% rename from test/plovasp/_proj_group/one_site/EIGENVAL rename to test/plovasp/proj_group/one_site/EIGENVAL diff --git a/test/plovasp/_proj_group/one_site/IBZKPT b/test/plovasp/proj_group/one_site/IBZKPT similarity index 100% rename from test/plovasp/_proj_group/one_site/IBZKPT rename to test/plovasp/proj_group/one_site/IBZKPT diff --git a/test/plovasp/_proj_group/one_site/LOCPROJ b/test/plovasp/proj_group/one_site/LOCPROJ similarity index 100% rename from test/plovasp/_proj_group/one_site/LOCPROJ rename to test/plovasp/proj_group/one_site/LOCPROJ diff --git a/test/plovasp/_proj_group/one_site/POSCAR b/test/plovasp/proj_group/one_site/POSCAR similarity index 100% rename from test/plovasp/_proj_group/one_site/POSCAR rename to test/plovasp/proj_group/one_site/POSCAR diff --git a/test/plovasp/_proj_group/projgroups.out b/test/plovasp/proj_group/projgroups.out similarity index 100% rename from test/plovasp/_proj_group/projgroups.out rename to test/plovasp/proj_group/projgroups.out diff --git a/test/plovasp/_proj_group/projortho.out b/test/plovasp/proj_group/projortho.out similarity index 100% rename from test/plovasp/_proj_group/projortho.out rename to test/plovasp/proj_group/projortho.out diff --git a/test/plovasp/_proj_group/projortho_2site.out b/test/plovasp/proj_group/projortho_2site.out similarity index 100% rename from test/plovasp/_proj_group/projortho_2site.out rename to test/plovasp/proj_group/projortho_2site.out diff --git a/test/plovasp/_proj_group/projortho_normion.out b/test/plovasp/proj_group/projortho_normion.out similarity index 100% rename from test/plovasp/_proj_group/projortho_normion.out rename to test/plovasp/proj_group/projortho_normion.out diff --git a/test/plovasp/_proj_group/rpath.py b/test/plovasp/proj_group/rpath.py similarity index 100% rename from test/plovasp/_proj_group/rpath.py rename to test/plovasp/proj_group/rpath.py diff --git a/test/plovasp/_proj_group/runtest.sh b/test/plovasp/proj_group/runtest.sh similarity index 100% rename from test/plovasp/_proj_group/runtest.sh rename to test/plovasp/proj_group/runtest.sh diff --git a/test/plovasp/_proj_group/simple.cfg b/test/plovasp/proj_group/simple.cfg similarity index 100% rename from test/plovasp/_proj_group/simple.cfg rename to test/plovasp/proj_group/simple.cfg diff --git a/test/plovasp/_proj_group/simple/DOSCAR b/test/plovasp/proj_group/simple/DOSCAR similarity index 100% rename from test/plovasp/_proj_group/simple/DOSCAR rename to test/plovasp/proj_group/simple/DOSCAR diff --git a/test/plovasp/_proj_group/simple/EIGENVAL b/test/plovasp/proj_group/simple/EIGENVAL similarity index 100% rename from test/plovasp/_proj_group/simple/EIGENVAL rename to test/plovasp/proj_group/simple/EIGENVAL diff --git a/test/plovasp/_proj_group/simple/IBZKPT b/test/plovasp/proj_group/simple/IBZKPT similarity index 100% rename from test/plovasp/_proj_group/simple/IBZKPT rename to test/plovasp/proj_group/simple/IBZKPT diff --git a/test/plovasp/_proj_group/simple/LOCPROJ b/test/plovasp/proj_group/simple/LOCPROJ similarity index 100% rename from test/plovasp/_proj_group/simple/LOCPROJ rename to test/plovasp/proj_group/simple/LOCPROJ diff --git a/test/plovasp/_proj_group/simple/POSCAR b/test/plovasp/proj_group/simple/POSCAR similarity index 100% rename from test/plovasp/_proj_group/simple/POSCAR rename to test/plovasp/proj_group/simple/POSCAR diff --git a/test/plovasp/_proj_group/simple/PROJCAR b/test/plovasp/proj_group/simple/PROJCAR similarity index 100% rename from test/plovasp/_proj_group/simple/PROJCAR rename to test/plovasp/proj_group/simple/PROJCAR diff --git a/test/plovasp/_proj_group/test_all.py b/test/plovasp/proj_group/test_all.py similarity index 100% rename from test/plovasp/_proj_group/test_all.py rename to test/plovasp/proj_group/test_all.py diff --git a/test/plovasp/_proj_group/test_block_map.py b/test/plovasp/proj_group/test_block_map.py similarity index 90% rename from test/plovasp/_proj_group/test_block_map.py rename to test/plovasp/proj_group/test_block_map.py index d09062ac..fa3eac93 100644 --- a/test/plovasp/_proj_group/test_block_map.py +++ b/test/plovasp/proj_group/test_block_map.py @@ -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 ################################################################################ diff --git a/test/plovasp/_proj_group/test_one_site.py b/test/plovasp/proj_group/test_one_site.py similarity index 86% rename from test/plovasp/_proj_group/test_one_site.py rename to test/plovasp/proj_group/test_one_site.py index 87b4023a..939a9b5d 100644 --- a/test/plovasp/_proj_group/test_one_site.py +++ b/test/plovasp/proj_group/test_one_site.py @@ -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 ################################################################################ diff --git a/test/plovasp/_proj_group/test_select_bands.py b/test/plovasp/proj_group/test_select_bands.py similarity index 86% rename from test/plovasp/_proj_group/test_select_bands.py rename to test/plovasp/proj_group/test_select_bands.py index 4d4fff7c..fd41a6e0 100644 --- a/test/plovasp/_proj_group/test_select_bands.py +++ b/test/plovasp/proj_group/test_select_bands.py @@ -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 ################################################################################ diff --git a/test/plovasp/_proj_group/test_two_site.py b/test/plovasp/proj_group/test_two_site.py similarity index 88% rename from test/plovasp/_proj_group/test_two_site.py rename to test/plovasp/proj_group/test_two_site.py index 851b5108..bd83d55a 100644 --- a/test/plovasp/_proj_group/test_two_site.py +++ b/test/plovasp/proj_group/test_two_site.py @@ -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 ################################################################################ diff --git a/test/plovasp/_proj_group/two_site/DOSCAR b/test/plovasp/proj_group/two_site/DOSCAR similarity index 100% rename from test/plovasp/_proj_group/two_site/DOSCAR rename to test/plovasp/proj_group/two_site/DOSCAR diff --git a/test/plovasp/_proj_group/two_site/EIGENVAL b/test/plovasp/proj_group/two_site/EIGENVAL similarity index 100% rename from test/plovasp/_proj_group/two_site/EIGENVAL rename to test/plovasp/proj_group/two_site/EIGENVAL diff --git a/test/plovasp/_proj_group/two_site/IBZKPT b/test/plovasp/proj_group/two_site/IBZKPT similarity index 100% rename from test/plovasp/_proj_group/two_site/IBZKPT rename to test/plovasp/proj_group/two_site/IBZKPT diff --git a/test/plovasp/_proj_group/two_site/LOCPROJ b/test/plovasp/proj_group/two_site/LOCPROJ similarity index 100% rename from test/plovasp/_proj_group/two_site/LOCPROJ rename to test/plovasp/proj_group/two_site/LOCPROJ diff --git a/test/plovasp/_proj_group/two_site/POSCAR b/test/plovasp/proj_group/two_site/POSCAR similarity index 100% rename from test/plovasp/_proj_group/two_site/POSCAR rename to test/plovasp/proj_group/two_site/POSCAR diff --git a/test/plovasp/_proj_group/two_site/PROJCAR b/test/plovasp/proj_group/two_site/PROJCAR similarity index 100% rename from test/plovasp/_proj_group/two_site/PROJCAR rename to test/plovasp/proj_group/two_site/PROJCAR diff --git a/test/plovasp/_proj_shell/.gitignore b/test/plovasp/proj_shell/.gitignore similarity index 100% rename from test/plovasp/_proj_shell/.gitignore rename to test/plovasp/proj_shell/.gitignore diff --git a/test/plovasp/_proj_shell/__init__.py b/test/plovasp/proj_shell/__init__.py similarity index 100% rename from test/plovasp/_proj_shell/__init__.py rename to test/plovasp/proj_shell/__init__.py diff --git a/test/plovasp/_proj_shell/densmat.out b/test/plovasp/proj_shell/densmat.out similarity index 100% rename from test/plovasp/_proj_shell/densmat.out rename to test/plovasp/proj_shell/densmat.out diff --git a/test/plovasp/_proj_shell/example.cfg b/test/plovasp/proj_shell/example.cfg similarity index 100% rename from test/plovasp/_proj_shell/example.cfg rename to test/plovasp/proj_shell/example.cfg diff --git a/test/plovasp/_proj_shell/mytest.py b/test/plovasp/proj_shell/mytest.py similarity index 100% rename from test/plovasp/_proj_shell/mytest.py rename to test/plovasp/proj_shell/mytest.py diff --git a/test/plovasp/_proj_shell/one_site/DOSCAR b/test/plovasp/proj_shell/one_site/DOSCAR similarity index 100% rename from test/plovasp/_proj_shell/one_site/DOSCAR rename to test/plovasp/proj_shell/one_site/DOSCAR diff --git a/test/plovasp/_proj_shell/one_site/EIGENVAL b/test/plovasp/proj_shell/one_site/EIGENVAL similarity index 100% rename from test/plovasp/_proj_shell/one_site/EIGENVAL rename to test/plovasp/proj_shell/one_site/EIGENVAL diff --git a/test/plovasp/_proj_shell/one_site/IBZKPT b/test/plovasp/proj_shell/one_site/IBZKPT similarity index 100% rename from test/plovasp/_proj_shell/one_site/IBZKPT rename to test/plovasp/proj_shell/one_site/IBZKPT diff --git a/test/plovasp/_proj_shell/one_site/LOCPROJ b/test/plovasp/proj_shell/one_site/LOCPROJ similarity index 100% rename from test/plovasp/_proj_shell/one_site/LOCPROJ rename to test/plovasp/proj_shell/one_site/LOCPROJ diff --git a/test/plovasp/_proj_shell/one_site/POSCAR b/test/plovasp/proj_shell/one_site/POSCAR similarity index 100% rename from test/plovasp/_proj_shell/one_site/POSCAR rename to test/plovasp/proj_shell/one_site/POSCAR diff --git a/test/plovasp/_proj_shell/one_site/PROJCAR b/test/plovasp/proj_shell/one_site/PROJCAR similarity index 100% rename from test/plovasp/_proj_shell/one_site/PROJCAR rename to test/plovasp/proj_shell/one_site/PROJCAR diff --git a/test/plovasp/_proj_shell/projshells.out b/test/plovasp/proj_shell/projshells.out similarity index 100% rename from test/plovasp/_proj_shell/projshells.out rename to test/plovasp/proj_shell/projshells.out diff --git a/test/plovasp/_proj_shell/rpath.py b/test/plovasp/proj_shell/rpath.py similarity index 100% rename from test/plovasp/_proj_shell/rpath.py rename to test/plovasp/proj_shell/rpath.py diff --git a/test/plovasp/_proj_shell/runtest.sh b/test/plovasp/proj_shell/runtest.sh similarity index 100% rename from test/plovasp/_proj_shell/runtest.sh rename to test/plovasp/proj_shell/runtest.sh diff --git a/test/plovasp/_proj_shell/test_all.py b/test/plovasp/proj_shell/test_all.py similarity index 100% rename from test/plovasp/_proj_shell/test_all.py rename to test/plovasp/proj_shell/test_all.py diff --git a/test/plovasp/_proj_shell/test_projshells.py b/test/plovasp/proj_shell/test_projshells.py similarity index 88% rename from test/plovasp/_proj_shell/test_projshells.py rename to test/plovasp/proj_shell/test_projshells.py index 5f4b9aeb..75e68759 100644 --- a/test/plovasp/_proj_shell/test_projshells.py +++ b/test/plovasp/proj_shell/test_projshells.py @@ -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 ################################################################################ diff --git a/test/plovasp/_vaspio/.gitignore b/test/plovasp/vaspio/.gitignore similarity index 100% rename from test/plovasp/_vaspio/.gitignore rename to test/plovasp/vaspio/.gitignore diff --git a/test/plovasp/_vaspio/DOSCAR.example b/test/plovasp/vaspio/DOSCAR.example similarity index 100% rename from test/plovasp/_vaspio/DOSCAR.example rename to test/plovasp/vaspio/DOSCAR.example diff --git a/test/plovasp/_vaspio/EIGENVAL.example b/test/plovasp/vaspio/EIGENVAL.example similarity index 100% rename from test/plovasp/_vaspio/EIGENVAL.example rename to test/plovasp/vaspio/EIGENVAL.example diff --git a/test/plovasp/_vaspio/EIGENVAL.example.out b/test/plovasp/vaspio/EIGENVAL.example.out similarity index 100% rename from test/plovasp/_vaspio/EIGENVAL.example.out rename to test/plovasp/vaspio/EIGENVAL.example.out diff --git a/test/plovasp/_vaspio/EIGENVAL.wrong b/test/plovasp/vaspio/EIGENVAL.wrong similarity index 100% rename from test/plovasp/_vaspio/EIGENVAL.wrong rename to test/plovasp/vaspio/EIGENVAL.wrong diff --git a/test/plovasp/_vaspio/IBZKPT.example b/test/plovasp/vaspio/IBZKPT.example similarity index 100% rename from test/plovasp/_vaspio/IBZKPT.example rename to test/plovasp/vaspio/IBZKPT.example diff --git a/test/plovasp/_vaspio/IBZKPT.example.out b/test/plovasp/vaspio/IBZKPT.example.out similarity index 100% rename from test/plovasp/_vaspio/IBZKPT.example.out rename to test/plovasp/vaspio/IBZKPT.example.out diff --git a/test/plovasp/_vaspio/IBZKPT.notet b/test/plovasp/vaspio/IBZKPT.notet similarity index 100% rename from test/plovasp/_vaspio/IBZKPT.notet rename to test/plovasp/vaspio/IBZKPT.notet diff --git a/test/plovasp/_vaspio/IBZKPT.notet.out b/test/plovasp/vaspio/IBZKPT.notet.out similarity index 100% rename from test/plovasp/_vaspio/IBZKPT.notet.out rename to test/plovasp/vaspio/IBZKPT.notet.out diff --git a/test/plovasp/_vaspio/POSCAR.complex b/test/plovasp/vaspio/POSCAR.complex similarity index 100% rename from test/plovasp/_vaspio/POSCAR.complex rename to test/plovasp/vaspio/POSCAR.complex diff --git a/test/plovasp/_vaspio/POSCAR.example b/test/plovasp/vaspio/POSCAR.example similarity index 100% rename from test/plovasp/_vaspio/POSCAR.example rename to test/plovasp/vaspio/POSCAR.example diff --git a/test/plovasp/_vaspio/POSCAR.example.out b/test/plovasp/vaspio/POSCAR.example.out similarity index 100% rename from test/plovasp/_vaspio/POSCAR.example.out rename to test/plovasp/vaspio/POSCAR.example.out diff --git a/test/plovasp/_vaspio/__init__.py b/test/plovasp/vaspio/__init__.py similarity index 100% rename from test/plovasp/_vaspio/__init__.py rename to test/plovasp/vaspio/__init__.py diff --git a/test/plovasp/_vaspio/mytest.py b/test/plovasp/vaspio/mytest.py similarity index 100% rename from test/plovasp/_vaspio/mytest.py rename to test/plovasp/vaspio/mytest.py diff --git a/test/plovasp/_vaspio/rpath.py b/test/plovasp/vaspio/rpath.py similarity index 100% rename from test/plovasp/_vaspio/rpath.py rename to test/plovasp/vaspio/rpath.py diff --git a/test/plovasp/_vaspio/runtest.sh b/test/plovasp/vaspio/runtest.sh similarity index 100% rename from test/plovasp/_vaspio/runtest.sh rename to test/plovasp/vaspio/runtest.sh diff --git a/test/plovasp/_vaspio/test_all.py b/test/plovasp/vaspio/test_all.py similarity index 100% rename from test/plovasp/_vaspio/test_all.py rename to test/plovasp/vaspio/test_all.py diff --git a/test/plovasp/_vaspio/test_doscar.py b/test/plovasp/vaspio/test_doscar.py similarity index 100% rename from test/plovasp/_vaspio/test_doscar.py rename to test/plovasp/vaspio/test_doscar.py diff --git a/test/plovasp/_vaspio/test_eigenval.py b/test/plovasp/vaspio/test_eigenval.py similarity index 100% rename from test/plovasp/_vaspio/test_eigenval.py rename to test/plovasp/vaspio/test_eigenval.py diff --git a/test/plovasp/_vaspio/test_kpoints.py b/test/plovasp/vaspio/test_kpoints.py similarity index 100% rename from test/plovasp/_vaspio/test_kpoints.py rename to test/plovasp/vaspio/test_kpoints.py diff --git a/test/plovasp/_vaspio/test_poscar.py b/test/plovasp/vaspio/test_poscar.py similarity index 100% rename from test/plovasp/_vaspio/test_poscar.py rename to test/plovasp/vaspio/test_poscar.py