Skip to content

Commit

Permalink
Add iotbx alias for cif_as_pdb; use same in tst xray scale
Browse files Browse the repository at this point in the history
  • Loading branch information
graeme-winter committed Jun 16, 2017
1 parent ee6a462 commit 8268c80
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions iotbx/command_line/cif_as_pdb.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion iotbx/regression/tst_xray_scale.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8268c80

Please sign in to comment.