From f44e9d416c94df6532b93ab4f4695cece5863520 Mon Sep 17 00:00:00 2001 From: Yuichi Motoyama Date: Mon, 5 Aug 2024 15:31:26 +0900 Subject: [PATCH] change output directory for mesh A(k,w) --- src/dcore/dcore_spectrum.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dcore/dcore_spectrum.py b/src/dcore/dcore_spectrum.py index 3471bdb9..ccf74a0e 100644 --- a/src/dcore/dcore_spectrum.py +++ b/src/dcore/dcore_spectrum.py @@ -331,7 +331,7 @@ def post(self): om_mesh = numpy.linspace(mesh[0], mesh[1], mesh[2]) bvec = parse_bvec(self._params["model"]["bvec"]) for bname in self._solver.spin_block_names: - filename = f"akw_mesh_{bname}.dat" + filename = os.path.join(self._dir_post, f"akw_mesh_{bname}.dat") print(f"\n Output {filename}") with open(filename, "w") as f: print( @@ -581,7 +581,7 @@ def dcore_spectrum(filename, np=1): # Output gnuplot script # if xnode is not None: - print("\n############# Generate GnuPlot Script ########################\n") + print("\n############# Generate Gnuplot Script ########################\n") gen_script_gnuplot(xnode, seedname, dir_post, p["model"]["spin_orbit"]) print("\n################# Done #####################\n")