mirror of
https://github.com/triqs/dft_tools
synced 2024-09-12 05:38:31 +02:00
Adjust to nda/h5 changes in triqs pytriqs.archive -> h5
-pytriqs.archive.hdf_archive_schemes -> h5.formats
This commit is contained in:
parent
6cc6cd8b7a
commit
961215ccac
@ -1,7 +1,7 @@
|
||||
from itertools import *
|
||||
import numpy as np
|
||||
import pytriqs.utility.mpi as mpi
|
||||
from pytriqs.archive import *
|
||||
from h5 import *
|
||||
from pytriqs.gf import *
|
||||
from triqs_dft_tools.sumk_dft import *
|
||||
from triqs_dft_tools.sumk_dft_tools import *
|
||||
|
@ -1,6 +1,6 @@
|
||||
import pytriqs.utility.mpi as mpi
|
||||
from pytriqs.operators.util import *
|
||||
from pytriqs.archive import HDFArchive
|
||||
from h5 import HDFArchive
|
||||
from triqs_cthyb import *
|
||||
from pytriqs.gf import *
|
||||
from triqs_dft_tools.sumk_dft import *
|
||||
|
@ -1,5 +1,5 @@
|
||||
from pytriqs.gf import *
|
||||
from pytriqs.archive import *
|
||||
from h5 import *
|
||||
from triqs_maxent import *
|
||||
|
||||
filename = 'nio'
|
||||
|
@ -1,7 +1,7 @@
|
||||
from itertools import *
|
||||
import numpy as np
|
||||
import pytriqs.utility.mpi as mpi
|
||||
from pytriqs.archive import *
|
||||
from h5 import *
|
||||
from pytriqs.gf import *
|
||||
import sys, pytriqs.version as triqs_version
|
||||
from triqs_dft_tools.sumk_dft import *
|
||||
|
@ -1,7 +1,7 @@
|
||||
from itertools import *
|
||||
import numpy as np
|
||||
import pytriqs.utility.mpi as mpi
|
||||
from pytriqs.archive import *
|
||||
from h5 import *
|
||||
from pytriqs.gf import *
|
||||
import sys, pytriqs.version as triqs_version
|
||||
from triqs_dft_tools.sumk_dft import *
|
||||
|
@ -467,5 +467,5 @@ class BlockStructure(object):
|
||||
s+=' '+key+'\n'
|
||||
return s
|
||||
|
||||
from pytriqs.archive.hdf_archive_schemes import register_class
|
||||
from h5.formats import register_class
|
||||
register_class(BlockStructure)
|
||||
|
@ -22,7 +22,7 @@
|
||||
|
||||
from types import *
|
||||
import numpy
|
||||
from pytriqs.archive import *
|
||||
from h5 import *
|
||||
import pytriqs.utility.mpi as mpi
|
||||
from math import sqrt
|
||||
from .converter_tools import *
|
||||
|
@ -153,7 +153,7 @@ def generate_plo(conf_pars, el_struct):
|
||||
if conf_pars.general['hk']:
|
||||
pgroup.calc_hk(eigvals)
|
||||
#testout = 'hk.out.h5'
|
||||
#from pytriqs.archive import HDFArchive
|
||||
#from h5 import HDFArchive
|
||||
#with HDFArchive(testout, 'w') as h5test:
|
||||
# h5test['hk'] = pgroup.hk
|
||||
# DEBUG output
|
||||
|
@ -26,7 +26,7 @@
|
||||
|
||||
from types import *
|
||||
import numpy
|
||||
from pytriqs.archive import *
|
||||
from h5 import *
|
||||
from .converter_tools import *
|
||||
import os.path
|
||||
try:
|
||||
|
@ -47,7 +47,7 @@
|
||||
from types import *
|
||||
import numpy
|
||||
import math
|
||||
from pytriqs.archive import *
|
||||
from h5 import *
|
||||
from .converter_tools import *
|
||||
from itertools import product
|
||||
import os.path
|
||||
|
@ -22,7 +22,7 @@
|
||||
|
||||
from types import *
|
||||
import numpy
|
||||
from pytriqs.archive import *
|
||||
from h5 import *
|
||||
from .converter_tools import *
|
||||
import os.path
|
||||
|
||||
|
@ -26,7 +26,7 @@ import pytriqs.utility.dichotomy as dichotomy
|
||||
from pytriqs.gf import *
|
||||
import pytriqs.utility.mpi as mpi
|
||||
from pytriqs.utility.comparison_tests import assert_arrays_are_close
|
||||
from pytriqs.archive import *
|
||||
from h5 import *
|
||||
from .symmetry import *
|
||||
from .block_structure import BlockStructure
|
||||
from itertools import product
|
||||
|
@ -24,7 +24,7 @@ import copy
|
||||
import numpy
|
||||
from types import *
|
||||
from pytriqs.gf import *
|
||||
from pytriqs.archive import *
|
||||
from h5 import *
|
||||
import pytriqs.utility.mpi as mpi
|
||||
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
from triqs_dft_tools.sumk_dft import *
|
||||
from triqs_dft_tools.converters import Wien2kConverter
|
||||
from pytriqs.gf import *
|
||||
from pytriqs.archive import *
|
||||
from h5 import *
|
||||
import pytriqs.utility.mpi as mpi
|
||||
import numpy
|
||||
import copy
|
||||
|
@ -1,4 +1,4 @@
|
||||
from pytriqs.archive import HDFArchive
|
||||
from h5 import HDFArchive
|
||||
import h5py
|
||||
import sys
|
||||
import numpy
|
||||
|
@ -3,7 +3,7 @@ from triqs_dft_tools.sumk_dft import SumkDFT
|
||||
from scipy.linalg import expm
|
||||
import numpy as np
|
||||
from pytriqs.utility.comparison_tests import assert_gfs_are_close, assert_arrays_are_close, assert_block_gfs_are_close
|
||||
from pytriqs.archive import *
|
||||
from h5 import *
|
||||
import itertools
|
||||
|
||||
# The full test checks all different possible combinations of conjugated
|
||||
|
@ -21,7 +21,7 @@
|
||||
################################################################################
|
||||
|
||||
|
||||
from pytriqs.archive import *
|
||||
from h5 import *
|
||||
from pytriqs.utility.h5diff import h5diff
|
||||
import pytriqs.utility.mpi as mpi
|
||||
|
||||
|
@ -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 pytriqs.archive import HDFArchive
|
||||
from h5 import HDFArchive
|
||||
import mytest
|
||||
|
||||
################################################################################
|
||||
|
@ -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 pytriqs.archive import HDFArchive
|
||||
from h5 import HDFArchive
|
||||
import mytest
|
||||
|
||||
################################################################################
|
||||
|
@ -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 pytriqs.archive import HDFArchive
|
||||
from h5 import HDFArchive
|
||||
import mytest
|
||||
|
||||
################################################################################
|
||||
|
@ -19,7 +19,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
from pytriqs.archive import *
|
||||
from h5 import *
|
||||
from pytriqs.gf import *
|
||||
from pytriqs.gf.tools import *
|
||||
from triqs_dft_tools.sumk_dft_tools import *
|
||||
|
@ -19,7 +19,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
from pytriqs.archive import *
|
||||
from h5 import *
|
||||
from pytriqs.gf import *
|
||||
from triqs_dft_tools.sumk_dft import *
|
||||
from triqs_dft_tools.converters.wien2k_converter import *
|
||||
|
@ -20,7 +20,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
from pytriqs.archive import *
|
||||
from h5 import *
|
||||
from triqs_dft_tools.sumk_dft_tools import SumkDFTTools
|
||||
import pytriqs.utility.mpi as mpi
|
||||
from pytriqs.utility.comparison_tests import *
|
||||
|
@ -22,7 +22,7 @@
|
||||
|
||||
|
||||
from triqs_dft_tools.converters import *
|
||||
from pytriqs.archive import *
|
||||
from h5 import *
|
||||
from pytriqs.utility.h5diff import h5diff
|
||||
import pytriqs.utility.mpi as mpi
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
from pytriqs.archive import *
|
||||
from h5 import *
|
||||
from pytriqs.utility.comparison_tests import *
|
||||
from pytriqs.utility.h5diff import h5diff
|
||||
import pytriqs.utility.mpi as mpi
|
||||
|
Loading…
Reference in New Issue
Block a user