3
0
mirror of https://github.com/triqs/dft_tools synced 2024-11-06 22:23:52 +01:00

Added shell info to filename for spaghetti.

This commit is contained in:
Priyanka Seth 2015-11-30 17:19:04 +01:00
parent 8cd2a73ae2
commit cff294e1b2

View File

@ -394,7 +394,7 @@ class SumkDFTTools(SumkDFT):
else: # ishell is not None
for sp in spn:
for ish in range(self.shells[ishell]['dim']):
f = open(save_to_file+sp+'_proj'+str(ish)+'.dat','w') # Open file for storage:
f = open(save_to_file+str(ishell)+'_'+sp+'_proj'+str(ish)+'.dat','w') # Open file for storage:
for ik in range(self.n_k):
for iom in range(n_om):
if (mesh[iom] > om_minplot) and (mesh[iom] < om_maxplot):