diff --git a/.github/workflows/pages_graphs.yml b/.github/workflows/pages_graphs.yml index fc087ff..05ea492 100644 --- a/.github/workflows/pages_graphs.yml +++ b/.github/workflows/pages_graphs.yml @@ -1,7 +1,9 @@ name: Pages and Graphviz re-render on: push: - paths: 'docs/**/*' + branches: + - main + paths: 'docs/**' # Allows you to run this workflow manually from the Actions tab workflow_dispatch: diff --git a/docs/index.md b/docs/index.md index 92bf977..910ca63 100644 --- a/docs/index.md +++ b/docs/index.md @@ -18,3 +18,5 @@ Please see the associated Github repository which has [outline tasks in Issues]( + + diff --git a/src/cyto_ml/data/vectorstore.py b/src/cyto_ml/data/vectorstore.py index 4805ff4..780ff92 100644 --- a/src/cyto_ml/data/vectorstore.py +++ b/src/cyto_ml/data/vectorstore.py @@ -6,7 +6,7 @@ import chromadb.api.models.Collection import numpy as np from chromadb.config import Settings -from chromadb.db.base import UniqueConstraintError +from chromadb.errors import UniqueConstraintError logging.basicConfig(level=logging.INFO) # TODO make this sensibly configurable, not confusingly hardcoded