aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2020-08-08 00:00:59 +0530
committerGitHub <noreply@github.com>2020-08-08 00:00:59 +0530
commit1382cd848f04feaa6572ef49803372bc1184c3c7 (patch)
treed726a8c714751ac3bd9c179204e53a3a75e12a9d
parent1f6c6aa94b323cbb378de45d6f4788b1b81b667a (diff)
fix for colouring natural ligand
-rw-r--r--scripts/quick-ligand-protein.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/quick-ligand-protein.py b/scripts/quick-ligand-protein.py
index 5873270..6ea16c1 100644
--- a/scripts/quick-ligand-protein.py
+++ b/scripts/quick-ligand-protein.py
@@ -107,10 +107,10 @@ cmd = session.cmd
loadMol(protein, m1)
cmd.remove("resn hoh") # remove water
-cmd.color("blue", "hetatm") # color heteroatoms
loadMol(ligand, m2)
changeColor(m1, "grey60")
changeColor(m2, ligandColor)
+cmd.color("blue", "hetatm") # color heteroatoms
orientEtZoom()
showSurface(m1)
surfaceTransparency(0.6)