from __future__ import absolute_import, division, print_function from cctbx import crystal from libtbx.utils import Sorry, date_and_time, multi_out import iotbx.phil from iotbx import reflection_file_reader from iotbx import reflection_file_utils from iotbx import crystal_symmetry_from_any import mmtbx.scaling from mmtbx.scaling import pair_analyses from libtbx.str_utils import StringIO from mmtbx.scaling import pre_scale, make_param import sys, os from mmtbx.scaling import fa_estimation params_generator = make_param.phil_lego() master_params = iotbx.phil.parse(params_generator.default_sir()) def run(args): if len(args) == 0: master_params.show(expert_level=0) elif ("--help" in args): print("no help available") elif ("--h" in args): print("no help available") elif ("--show_defaults" in args): master_params.show(expert_level=0) elif ("--show_defaults_all" in args): master_params.show(expert_level=10)
from cctbx import crystal from libtbx.utils import Sorry, date_and_time, multi_out import iotbx.phil from iotbx import reflection_file_reader from iotbx import reflection_file_utils from iotbx import crystal_symmetry_from_any import mmtbx.scaling from mmtbx.scaling import pair_analyses from libtbx.str_utils import StringIO from mmtbx.scaling import pre_scale, make_param import sys, os from mmtbx.scaling import fa_estimation params_generator = make_param.phil_lego() master_params = iotbx.phil.parse( params_generator.default_rip() ) def run(args): if len(args)==0: master_params.show(expert_level=0) elif ( "--help" in args ): print "no help available" elif ( "--h" in args ): print "no help available" elif ( "--show_defaults" in args ): master_params.show(expert_level=0) elif ( "--show_defaults_all" in args ): master_params.show(expert_level=10)