improved error handling
Some checks failed
Build and deploy the backend to staging / Build and push image (pull_request) Failing after 2m12s
Build and deploy the backend to staging / Deploy to staging (pull_request) Has been skipped
Run linting on the backend code / Build (pull_request) Failing after 28s
Run testing on the backend code / Build (pull_request) Failing after 2m8s
Some checks failed
Build and deploy the backend to staging / Build and push image (pull_request) Failing after 2m12s
Build and deploy the backend to staging / Deploy to staging (pull_request) Has been skipped
Run linting on the backend code / Build (pull_request) Failing after 28s
Run testing on the backend code / Build (pull_request) Failing after 2m8s
This commit is contained in:
parent
7f77ecab04
commit
fdb5f34e26
@ -70,6 +70,10 @@ class ShoppingManager:
|
||||
# First generate the clusters
|
||||
self.generate_clusters()
|
||||
|
||||
# Return empty list if no clusters were found
|
||||
if len(set(self.cluster_labels)) == 0 :
|
||||
return []
|
||||
|
||||
# Then generate the shopping locations
|
||||
self.generate_shopping_locations()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user