INNER CODE UNIT · Python

__enter__

pymzml/pymzML · pymzml/run.py:216

    def __enter__(self):
        return self

    def __exit__(self, type, value, traceback):
        self.close()

    @property
    def file_class(self):
        """Return file object in use."""
        return type(self.info["file_object"].file_handler)

    def _open_file(self, path_or_file, build_index_from_scratch=False):
        """
        Open the path using the FileInterface class as a wrapper.

        Arguments:
            path (str): path to the file to parse

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…