コード例 #1
0
    def testGenesisDFLToWPGWavefront(self):
        """ Check the conversion from genesis dfl to wpg readable hdf5. """

        genesis_out_file = generateTestFilePath("genesis/lcls/lcls.out")
        genesis_dfl_file = generateTestFilePath("genesis/lcls/lcls.out.dfl")

        wf = IOUtilities.genesis_dfl_to_wavefront(genesis_out_file, genesis_dfl_file)

        self.assertIsInstance(wf, Wavefront)