def dump(experiments, reflections, filename): entry = get_entry(filename, "w") experiments = nx_mx.dump(entry, experiments) nx_reflections.dump(entry, reflections, experiments)
def dump(experiments, reflections, params): filename = params.hklout entry = get_entry(filename, "w") experiments = nx_mx.dump(entry, experiments, params) nx_reflections.dump(entry, reflections, experiments)
def dump(experiments, reflections, filename): from dials.util.nexus import nx_reflections, nx_mx entry = get_entry(filename, "w") experiments = nx_mx.dump(entry, experiments) nx_reflections.dump(entry, reflections, experiments)