From 6a98f5487e69fcf417486379fbe047849aa3c632 Mon Sep 17 00:00:00 2001
From: Gabriel Studer <gabriel.studer@unibas.ch>
Date: Mon, 29 Jun 2020 08:29:28 +0200
Subject: [PATCH] update editors internal coordinate system when done with
 ApplyOnResidue in RRMRotamer

---
 sidechain/src/rotamer.cc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sidechain/src/rotamer.cc b/sidechain/src/rotamer.cc
index aa4a399f..7e84c43c 100644
--- a/sidechain/src/rotamer.cc
+++ b/sidechain/src/rotamer.cc
@@ -54,6 +54,7 @@ void RRMRotamer::ApplyOnResidue(ost::mol::ResidueHandle& res,
     ed.RenameResidue(res, new_res_name);
     res.SetOneLetterCode(ost::conop::ResidueNameToOneLetterCode(new_res_name));
   }
+  ed.UpdateICS();
 }
 
 
-- 
GitLab