diff --git a/python/triqs_dft_tools/converters/wannier90.py b/python/triqs_dft_tools/converters/wannier90.py index c28c84b3..4af1ea9c 100644 --- a/python/triqs_dft_tools/converters/wannier90.py +++ b/python/triqs_dft_tools/converters/wannier90.py @@ -51,8 +51,7 @@ from h5 import * from .converter_tools import * from itertools import product import os.path -import pytriqs.utility.mpi as mpi - +import triqs.utility.mpi as mpi class Wannier90Converter(ConverterTools): """ @@ -61,7 +60,7 @@ class Wannier90Converter(ConverterTools): def __init__(self, seedname, hdf_filename=None, dft_subgrp='dft_input', symmcorr_subgrp='dft_symmcorr_input', repacking=False, - rot_mat_type = 'hloc_diag'): + rot_mat_type='hloc_diag'): """ Initialise the class. diff --git a/test/python/w90_convert.py b/test/python/w90_convert.py index 411b0378..ec4de1d8 100644 --- a/test/python/w90_convert.py +++ b/test/python/w90_convert.py @@ -26,7 +26,7 @@ from h5 import * from triqs.utility.h5diff import h5diff import triqs.utility.mpi as mpi -Converter = Wannier90Converter(seedname='LaVO3-Pnma',hdf_filename='w90_convert.out.h5') +Converter = Wannier90Converter(seedname='LaVO3-Pnma',hdf_filename='w90_convert.out.h5', rot_mat_type='wannier') Converter.convert_dft_input()