예제 #1
0
    def export(self):
        '''
    Export the files

    '''
        from dials.util.export_mmcif import MMCIFOutputFile
        outfile = MMCIFOutputFile(self.params.mmcif.hklout)
        outfile.write(self.experiments, self.reflections)
예제 #2
0
    def export(self):
        """
        Export the files

        """
        from dials.util.export_mmcif import MMCIFOutputFile

        outfile = MMCIFOutputFile(self.params)
        try:
            outfile.write(self.experiments, self.reflections)
        except ValueError as e:
            raise Sorry(e)
예제 #3
0
파일: export.py 프로젝트: jmp1985/dials
def export_mmcif(params, experiments, reflections):
    """
    Export data in CIF format

    :param params: The phil parameters
    :param experiments: The experiment list
    :param reflections: The reflection tables
    """

    _check_input(experiments, reflections)

    from dials.util.export_mmcif import MMCIFOutputFile

    outfile = MMCIFOutputFile(params)
    outfile.write(experiments, reflections[0])