@@ -0,0 +1,529 @@
+from __future__ import absolute_import, division, print_function%0A%0Aimport sys%0A%0Aimport iotbx.phil%0Afrom iotbx.command_line import merging_statistics%0A%0Amaster_params = iotbx.phil.parse(%0A  merging_statistics.master_phil, process_includes=True)%0A%0A# override default parameters%0Amaster_params = master_params.fetch(source=iotbx.phil.parse(%0A  %22%22%22%5C%0Ause_internal_variance = False%0Aeliminate_sys_absent = False%0A%22%22%22))%0A%0Adef run(args):%0A  merging_statistics.run(args, master_params=master_params)%0A%0Aif (__name__ == %22__main__%22) :%0A  run(sys.argv%5B1:%5D)%0A

add xia2.merging_statistics wrapper: identical to iotbx.merging_statistics, just change defaults to use_internal_variance=False eliminate_sys_absent=False (for comparable results to aimless calculations)