Resolve incorrect dataframe size in analyze mode (#84)

Signed-off-by: coleramos425 <colramos@amd.com>


[ROCm/rocprofiler-compute commit: 1d82bc67b0]
이 커밋은 다음에 포함됨:
coleramos425가 2023-02-14 15:20:37 -06:00를 커밋했습니다
1 부모 eba0d9d29e
커밋 d8910f7e1e
1 파일이 변경됨
+1 -1
+1 -1
파일 보기
@@ -650,7 +650,7 @@ def apply_filters(workload, is_gui, debug):
# NB: support ignoring the 1st n dispatched execution by '> n'
# The better way may be parsing python slice string
for d in workload.filter_dispatch_ids:
if int(d) > len(ret_df) - 2: # subtract 2 bc of the two header rows
if int(d) >= len(ret_df): # subtract 2 bc of the two header rows
print("{} is an invalid dispatch id.".format(d))
sys.exit(1)
if ">" in workload.filter_dispatch_ids[0]: