From cff294e1b2c85fc3e597cd14087aaa3c5b8dc041 Mon Sep 17 00:00:00 2001 From: Priyanka Seth Date: Mon, 30 Nov 2015 17:19:04 +0100 Subject: [PATCH] Added shell info to filename for spaghetti. --- python/sumk_dft_tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/sumk_dft_tools.py b/python/sumk_dft_tools.py index 1f63ac7b..bee0054b 100644 --- a/python/sumk_dft_tools.py +++ b/python/sumk_dft_tools.py @@ -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):