Did I find the right examples for you? yes no

All Samples(5)  |  Call(3)  |  Derive(0)  |  Import(2)

src/p/y/pyHMSA-0.1/pyhmsa/datafile.py   pyHMSA(Download)
            Note that both have to be present.
        """
        from pyhmsa.fileformat.datafile import DataFileReader
        reader = DataFileReader()
        reader.read(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
    def testreader1(self):
        reader = DataFileReader()
        reader.read(self.filepath)
        datafile = reader.get()
 
    def testreader2(self):
        reader = DataFileReader()
        reader.read(self.filepath)
        reader.cancel()
        self.assertEqual(1.0, reader.progress)