From 17e596baa2b398a47e8c4b0f42c3614ea260b11e Mon Sep 17 00:00:00 2001 From: Andy Date: Tue, 26 Mar 2024 14:59:55 +0100 Subject: [PATCH] Corrected a saving glitch in Project, and display glitch in Data_iRED --- Project/Project.py | 2 +- iRED/iRED.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Project/Project.py b/Project/Project.py index 3e890a7..405942a 100644 --- a/Project/Project.py +++ b/Project/Project.py @@ -239,7 +239,7 @@ def save(self,i='all',include_rawMD=False): if file is None: src_fname=None else: - src_fname=os.path.join(self.directory,) + src_fname=os.path.join(self.directory,file) else: src_fname=None diff --git a/iRED/iRED.py b/iRED/iRED.py index 47d3ace..7648474 100644 --- a/iRED/iRED.py +++ b/iRED/iRED.py @@ -818,7 +818,8 @@ def CCchimera(self,index=None,rho_index:int=None,indexCC:int=None,scaling:float= self.select.chimera(color=plt.get_cmap('tab10')(rho_index[0]),x=x,index=index) sel0=self.select.repr_sel[index][indexCC] mn=CMXRemote.valid_models(ID)[-1] - CMXRemote.send_command(ID,'color '+'|'.join(['#{0}/{1}:{2}@{3},'.format(mn,s.segid,s.resid,s.name) for s in sel0])+' black') + CMXRemote.send_command(ID,'color '+'|'.join(['#{0}/{1}:{2}@{3}'.format(mn,s.segid,s.resid,s.name) for s in sel0])+' black') + # print('color '+'|'.join(['#{0}/{1}:{2}@{3}'.format(mn,s.segid,s.resid,s.name) for s in sel0])+' black') return sel0 else: # om=CMXRemote.how_many_models(ID)