Skip to content

Commit

Permalink
Merge branch 'main' into feature/iss-291-neo4j-id-deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
dotsdl authored Nov 6, 2024
2 parents d5d8bbc + 63c1bb9 commit 5200d42
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- "3.12"

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- uses: mamba-org/setup-micromamba@v1
with:
Expand Down
4 changes: 2 additions & 2 deletions alchemiscale/storage/statestore.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
AlchemicalNetwork,
Transformation,
NonTransformation,
Settings,
Protocol,
)
from gufe.settings import SettingsBaseModel
from gufe.tokenization import GufeTokenizable, GufeKey, JSON_HANDLER

from neo4j import Transaction, GraphDatabase, Driver
Expand Down Expand Up @@ -342,7 +342,7 @@ def _gufe_to_subgraph(
):
node[key] = json.dumps(value, cls=JSON_HANDLER.encoder)
node["_json_props"].append(key)
elif isinstance(value, Settings):
elif isinstance(value, SettingsBaseModel):
node[key] = json.dumps(value, cls=JSON_HANDLER.encoder, sort_keys=True)
node["_json_props"].append(key)
elif isinstance(value, GufeTokenizable):
Expand Down
2 changes: 1 addition & 1 deletion devtools/conda-envs/alchemiscale-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ dependencies:
- python-jose
- passlib
- bcrypt
- python-multipart
- python-multipart=0.0.12 # temporarily pinned due to broken 0.14 release on conda-forge
- starlette
- httpx
- cryptography
Expand Down
2 changes: 1 addition & 1 deletion devtools/conda-envs/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ dependencies:
- python-jose
- passlib
- bcrypt
- python-multipart
- python-multipart=0.0.12 # temporarily pinned due to broken 0.14 release on conda-forge
- starlette
- httpx
- cryptography
Expand Down

0 comments on commit 5200d42

Please sign in to comment.