diff --git a/cli/cli_chestxray_tutorial_test.sh b/cli/cli_chestxray_tutorial_test.sh index d9c31f8c0..cf5b6dc97 100755 --- a/cli/cli_chestxray_tutorial_test.sh +++ b/cli/cli_chestxray_tutorial_test.sh @@ -15,7 +15,6 @@ chmod a+w $DIRECTORY/sample_raw_data ########################################################## - echo "==========================================" echo "Creating test profiles for each user" echo "==========================================" @@ -84,7 +83,7 @@ echo "=====================================" print_eval medperf profile activate testbenchmark checkFailed "testbenchmark profile activation failed" # Get association information -ASSOC_INFO=$(medperf association ls | head -n 4 | tail -n 1 | tr -s ' ') +ASSOC_INFO=$(medperf association ls -bd | head -n 4 | tail -n 1 | tr -s ' ') ASSOC_DSET_UID=$(echo $ASSOC_INFO | cut -d ' ' -f 1) ASSOC_BMK_UID=$(echo $ASSOC_INFO | cut -d ' ' -f 2) # Mark dataset-benchmark association as approved diff --git a/cli/cli_tests.sh b/cli/cli_tests.sh index 4640fcca0..33c04e91d 100755 --- a/cli/cli_tests.sh +++ b/cli/cli_tests.sh @@ -310,8 +310,10 @@ echo "\n" echo "======================================================" echo "Submitted associations:" echo "======================================================" -print_eval medperf association ls -checkFailed "Listing associations failed" +print_eval medperf association ls -bd +checkFailed "Listing benchmark-datasets associations failed" +print_eval medperf association ls -bm +checkFailed "Listing benchmark-models associations failed" ########################################################## echo "\n" diff --git a/docs/getting_started/data_owner_demo.md b/docs/getting_started/data_owner_demo.md index f1dd0fb82..f5c5558e9 100644 --- a/docs/getting_started/data_owner_demo.md +++ b/docs/getting_started/data_owner_demo.md @@ -122,7 +122,7 @@ This command will first run the benchmark's reference model on your dataset to e #### How to proceed after requesting association ![Benchmark Committee accepts / rejects datasets](../tutorial_images/do-4-bc-accepts-rejects-datasets.png){class="tutorial-sticky-image-content"} -When participating with a real benchmark, you must wait for the Benchmark Committee to approve the association request. You can check the status of your association requests by running `medperf association ls`. The association is identified by the server UIDs of your dataset and the benchmark with which you are requesting association. +When participating with a real benchmark, you must wait for the Benchmark Committee to approve the association request. You can check the status of your association requests by running `medperf association ls -bd`. The association is identified by the server UIDs of your dataset and the benchmark with which you are requesting association. _For the sake of continuing the tutorial only_, run the following to simulate the benchmark committee approving your association (make sure you are in the MedPerf's root directory): @@ -130,7 +130,7 @@ _For the sake of continuing the tutorial only_, run the following to simulate th sh tutorials_scripts/simulate_data_association_approval.sh ``` -You can verify if your association request has been approved by running `medperf association ls`. +You can verify if your association request has been approved by running `medperf association ls -bd`. ## 5. Execute the Benchmark diff --git a/docs/getting_started/model_owner_demo.md b/docs/getting_started/model_owner_demo.md index db0140874..42b46375b 100644 --- a/docs/getting_started/model_owner_demo.md +++ b/docs/getting_started/model_owner_demo.md @@ -130,7 +130,7 @@ This command will first run the benchmark's workflow on your model to ensure you #### What Happens After Requesting the Association? ![Benchmark Committee accepts / rejects models](../tutorial_images/mo-4-bc-accepts-rejects-models.png){class="tutorial-sticky-image-content"} -When participating with a real benchmark, you must wait for the Benchmark Committee to approve the association request. You can check the status of your association requests by running `medperf association ls`. The association is identified by the server UIDs of your MLCube and the benchmark with which you are requesting association. +When participating with a real benchmark, you must wait for the Benchmark Committee to approve the association request. You can check the status of your association requests by running `medperf association ls -bm`. The association is identified by the server UIDs of your MLCube and the benchmark with which you are requesting association. ![The end](../tutorial_images/the-end.png){class="tutorial-sticky-image-content"} {% include "getting_started/shared/cleanup.md" %}