src/pybel/dsl/node_classes.py
def range(self) -> str:
        """Get the range of this fragment."""
        if FRAGMENT_MISSING in self:
            return '?'

        return '{}_{}'.format(self[FRAGMENT_START], self[FRAGMENT_STOP])
Get the range of this fragment.
Get the range of this fragment.
Get the range of this fragment .
def range(self) -> str:
        if FRAGMENT_MISSING in self:
            return '?'
        return '{}_{}'.format(self[FRAGMENT_START], self[FRAGMENT_STOP])
def range ( self ) -> str : if FRAGMENT_MISSING in self : return '?' return '{}_{}' . format ( self [ FRAGMENT_START ] , self [ FRAGMENT_STOP ] )
Get the range of this fragment.
Get the range of this fragment .
"""Get the range of this fragment."""
self