def displayRange(layer):
    """Returns a string representation of a layer's frame range."""
    if layer.data.chunk_size != 1:
        return '%s chunked %s' % (layer.data.range, layer.data.chunk_size)
    return layer.data.range