From d060ac70c833d3c6506b9569a7a02e2597336802 Mon Sep 17 00:00:00 2001 From: QuanyiLi Date: Sun, 27 Aug 2023 19:04:17 +0100 Subject: [PATCH] fix command style by removing .py --- documentation/operations.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/documentation/operations.rst b/documentation/operations.rst index 6bb056a..0a2670f 100644 --- a/documentation/operations.rst +++ b/documentation/operations.rst @@ -80,7 +80,7 @@ Convert nuPlan .. code-block:: text - python -m scenarionet.convert_nuplan.py [-h] [--database_path DATABASE_PATH] + python -m scenarionet.convert_nuplan [-h] [--database_path DATABASE_PATH] [--dataset_name DATASET_NAME] [--version VERSION] [--overwrite] [--num_workers NUM_WORKERS] [--raw_data_path RAW_DATA_PATH] [--test] @@ -226,7 +226,7 @@ This is usually used to build training/test/validation set. .. code-block:: text - usage: split.py [-h] --from FROM --to TO [--num_scenarios NUM_SCENARIOS] + python -m scenarionet.split [-h] --from FROM --to TO [--num_scenarios NUM_SCENARIOS] [--start_index START_INDEX] [--random] [--exist_ok] [--overwrite] @@ -297,7 +297,7 @@ Report the number of scenarios in a database. .. code-block:: text - usage: num.py [-h] --database_path DATABASE_PATH + python -m scenarionet.num [-h] --database_path DATABASE_PATH The number of scenarios in the specified database @@ -394,7 +394,7 @@ please check Section :ref:`simulation` or the `MetaDrive document