Skip to content

Commit

Permalink
Fix another bug in transmission script
Browse files Browse the repository at this point in the history
  • Loading branch information
edan-bainglass committed Feb 18, 2024
1 parent 315b057 commit 0ab36f4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions examples/coulomb_blockade/pentacene/trans.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,11 @@ def run(filepath: Path):
if comm.rank == 0:
np.save(filepath, T.real)

run(output_dir / "dft.npy")
for filename in Path(sigma_folder_path).glob("dmu_*"):
dmft_self_energy = DataSelfEnergy(energies, np.load(filename))
run(output_dir / "transmission_dft.npy")
for filepath in Path(sigma_folder_path).glob("dmu_*"):
dmft_self_energy = DataSelfEnergy(energies, np.load(filepath))
gf.selfenergies.append((1, dmft_self_energy))
run(transmission_dir / filename)
run(transmission_dir / filepath.name)
gf.selfenergies.pop()


Expand Down

0 comments on commit 0ab36f4

Please sign in to comment.