Print

Print


Repository : ssh://g18-sc-serv-04.diamond.ac.uk/cctbx
On branch  : master




commit 8268c807a9063ecd59c052ddbe0cff3c2ac38262
Author: graeme-winter <[log in to unmask]>
Date:   Fri Jun 16 09:05:06 2017 +0100

    Add iotbx alias for cif_as_pdb; use same in tst xray scale





8268c807a9063ecd59c052ddbe0cff3c2ac38262
iotbx/command_line/cif_as_pdb.py   | 1 +
iotbx/regression/tst_xray_scale.py | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/iotbx/command_line/cif_as_pdb.py b/iotbx/command_line/cif_as_pdb.py
index e8f6f281c..7ccfa2f21 100644
--- a/iotbx/command_line/cif_as_pdb.py
+++ b/iotbx/command_line/cif_as_pdb.py
@@ -1,5 +1,6 @@
from __future__ import division
# LIBTBX_SET_DISPATCHER_NAME phenix.cif_as_pdb
+# LIBTBX_SET_DISPATCHER_NAME iotbx.cif_as_pdb
import os
import iotbx.pdb
import iotbx.pdb.mmcif
diff --git a/iotbx/regression/tst_xray_scale.py b/iotbx/regression/tst_xray_scale.py
index e1a4ec9f3..815dabf73 100644
--- a/iotbx/regression/tst_xray_scale.py
+++ b/iotbx/regression/tst_xray_scale.py
@@ -82,7 +82,7 @@ def run(prefix="iotbx_tst_xray_scale"):
   # print "======== doing xrs from cif =============="
   xrs_cif = cif_inp.xray_structure_simple(crystal_symmetry = cs)
   # xrs from PDB
-  easy_run.call("phenix.cif_as_pdb %s.cif > junk.out"%prefix)
+  easy_run.call("iotbx.cif_as_pdb %s.cif > junk.out"%prefix)
   pdb_inp = iotbx.pdb.input(file_name="%s.pdb" % prefix)
   # print "======== doing xrs from pdb =============="
   xrs_pdb = pdb_inp.xray_structure_simple(crystal_symmetry = cs)