Remove reference to deprecated --axis option

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


[ROCm/rocprofiler-compute commit: ad05c01966]
This commit is contained in:
coleramos425
2023-01-31 15:37:54 -06:00
parent 42ecad9c37
commit cb01e766d9
-13
View File
@@ -217,19 +217,6 @@ def mongo_import(args, profileAndImport):
def roof_setup(args, my_parser):
if args.path == os.getcwd() + "/workloads":
args.path += "/" + args.name + "/" + str(get_soc())
# Verify valid axes parameters
if args.axes:
if len(args.axes) != 4:
throw_parse_error(
my_parser,
"Invalid argument for --axes.\nMust contain four values formatted as: --axes xmin xmax ymin ymax",
)
if args.axes[0] > args.axes[1] or args.axes[2] > args.axes[3]:
throw_parse_error(
my_parser,
"Invalid argument for --axes.\nBreaks required conditions: (xmax > xmin && ymax > ymin)",
)
# We need to make a directory for a new roofline
if not os.path.isdir(args.path):