TRIQS / solid_dmft

solid_dmft is a versatile python wrapper to perform DFT+DMFT calculations utilizing the TRIQS software library.
https://triqs.github.io/solid_dmft/
Other
32 stars 19 forks source link

Only use basename as target to copy seed and config #71

Closed hmenke closed 8 months ago

hmenke commented 9 months ago

Using solid_dmft path/to/dmft.ini results in

shutil.copyfile("path/to/dmft.ini", "jobname/path/to/dmft.ini")

but jobname normally does not have the subdirectories path/to/, so better strip them off.

Maybe this needs to be done in other locations as well.

the-hampel commented 8 months ago

thank you @hmenke for this fix!