Skip to content

Commit

Permalink
Corrected a saving glitch in Project, and display glitch in Data_iRED
Browse files Browse the repository at this point in the history
  • Loading branch information
alsinmr committed Mar 26, 2024
1 parent d256a06 commit 17e596b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project/Project.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 2 additions & 1 deletion iRED/iRED.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 17e596b

Please sign in to comment.