This commit is contained in:
QuanyiLi
2023-05-08 16:28:19 +01:00
parent 3c6d562718
commit bf53687cc3
2 changed files with 2 additions and 2 deletions

2
.gitignore vendored
View File

@@ -16,5 +16,5 @@ dataset/*
**.log **.log
**/tmp/** **/tmp/**
**/failed_scenarios/ **/failed_scenarios/
**/passed_senarios/ **/passed_scenarios/
**/waymo_origin **/waymo_origin

View File

@@ -37,7 +37,7 @@ def test_generate_from_error():
file_name = ErrorFile.get_error_file_name(dataset_path) file_name = ErrorFile.get_error_file_name(dataset_path)
error_file_path = os.path.join("../test_dataset", file_name) error_file_path = os.path.join("../test_dataset", file_name)
# regenerate # regenerate
pass_dataset = os.path.join(SCENARIONET_PACKAGE_PATH, "tests", "tmp", "passed_senarios") pass_dataset = os.path.join(SCENARIONET_PACKAGE_PATH, "tests", "tmp", "passed_scenarios")
fail_dataset = os.path.join(SCENARIONET_PACKAGE_PATH, "tests", "tmp", "failed_scenarios") fail_dataset = os.path.join(SCENARIONET_PACKAGE_PATH, "tests", "tmp", "failed_scenarios")
pass_summary, pass_mapping = ErrorFile.generate_dataset(error_file_path, pass_dataset, force_overwrite=True, pass_summary, pass_mapping = ErrorFile.generate_dataset(error_file_path, pass_dataset, force_overwrite=True,
broken_scenario=False) broken_scenario=False)