(self)
This private method checks if `self.infile` and `self.shape` are
        instantiated. If not it means that nobody called the parse method
        and at least one of them is None. If the check fails it raises a
        RuntimeError.
This private method checks if `self.infile` and `self.shape` are
        instantiated. If not it means that nobody called the parse method
        and at least one of them is None. If the check fails it raises a
        RuntimeError.
This private method checks if self . infile and self . shape are instantiated . If not it means that nobody called the parse method and at least one of them is None . If the check fails it raises a RuntimeError .
def _check_infile_instantiation(self):
        """
        This private method checks if `self.infile` and `self.shape` are
        instantiated. If not it means that nobody called the parse method
        and at least one of them is None. If the check fails it raises a
        RuntimeError.
        """
        if not self.shape or not self.infile:
            raise RuntimeError(
                'You can not write a file without having parsed one.')
def _check_infile_instantiation ( self ) : if not self . shape or not self . infile : raise RuntimeError ( 'You can not write a file without having parsed one.' )