Did I find the right examples for you? yes no

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)

src/p/y/pyHMSA-0.1/pyhmsa/datafile.py   pyHMSA(Download)
        :arg filepath: either the location of the XML or HMSA file
        """
        from pyhmsa.fileformat.datafile import DataFileWriter
        writer = DataFileWriter()
        writer.write(self, filepath)

src/p/y/pyHMSA-0.1/pyhmsa/fileformat/test_datafile.py   pyHMSA(Download)
 
# Local modules.
from pyhmsa.fileformat.datafile import DataFileReader, DataFileWriter
 
from pyhmsa.datafile import DataFile
        xmlfilepath = os.path.join(tmpdir, 'breccia_eds.xml')
        hmsafilepath = os.path.join(tmpdir, 'breccia_eds.hmsa')
        writer = DataFileWriter()
        writer.write(self.datafile, xmlfilepath)
        writer.join()