def blockrun_records(blockHeight, run, slogAccess, blockrun, target=None, include=None):
    ref = f"{run.parent}/{run['name']}"
    br = blockrun[((blockrun.run == run.name) & (blockrun.blockHeight == blockHeight))]
    block_start = br.iloc[0]
    block_end = br.iloc[1]
    length = ((block_end.line - block_start.line) + 1)
    df = slogAccess.get_records(f"{run.parent}/{run['name']}", int(block_start.line), int(length), target=target, include=include)
    return df.assign(file_id=run.file_id)
def blockrun_records(blockHeight, run, slogAccess, blockrun, target=None, include=None):
    ref = f"{run.parent}/{run['name']}"
    br = blockrun[((blockrun.run == run.name) & (blockrun.blockHeight == blockHeight))]
    block_start = br.iloc[0]
    block_end = br.iloc[1]
    length = ((block_end.line - block_start.line) + 1)
    df = slogAccess.get_records(f"{run.parent}/{run['name']}", int(block_start.line), int(length), target=target, include=include)
    return df.assign(file_id=run.file_id)