striplog/striplog.py
def fill(self, component=None):
        """
        Fill gaps with the component provided.

        Example
            t = s.fill(Component({'lithology': 'cheese'}))
        """
        c = [component] if component is not None else []

        # Make the intervals to go in the gaps.
        gaps = self.find_gaps()
        if not gaps:
            return self
        for iv in gaps:
            iv.components = c

        return deepcopy(self) + gaps
def fill(self, component=None):
        c = [component] if component is not None else []

        # Make the intervals to go in the gaps.
        gaps = self.find_gaps()
        if not gaps:
            return self
        for iv in gaps:
            iv.components = c

        return deepcopy(self) + gaps
def fill ( self , component = None ) : c = [ component ] if component is not None else [ ] # Make the intervals to go in the gaps. gaps = self . find_gaps ( ) if not gaps : return self for iv in gaps : iv . components = c return deepcopy ( self ) + gaps
Fill gaps with the component provided.

        Example
            t = s.fill(Component({'lithology': 'cheese'}))
Fill gaps with the component provided .