mirror of
https://github.com/GoogleCloudPlatform/vertex-ai-samples.git
synced 2026-09-26 14:42:04 +00:00
fix syntax error (#2481)
This commit is contained in:
@@ -166,7 +166,7 @@ else:
|
|||||||
|
|
||||||
notebooks = [changed_notebook for changed_notebook in changed_notebooks if execute_changed_notebooks_helper.select_notebook(changed_notebook, accumulative_results, args.test_percent)]
|
notebooks = [changed_notebook for changed_notebook in changed_notebooks if execute_changed_notebooks_helper.select_notebook(changed_notebook, accumulative_results, args.test_percent)]
|
||||||
# cap the number of notebooks to the specified percentage
|
# cap the number of notebooks to the specified percentage
|
||||||
max_notebooks = int((len(changed_notebooks) * (args.test_percenti/100)))
|
max_notebooks = int((len(changed_notebooks) * (args.test_percent/100)))
|
||||||
if (len(notebooks) > max_notebooks):
|
if (len(notebooks) > max_notebooks):
|
||||||
notebooks = notebooks[:max_notebooks]
|
notebooks = notebooks[:max_notebooks]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user