Skip to content

Commit

Permalink
Merge branch 'main' into vaspcustodian
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew-S-Rosen authored Mar 11, 2024
2 parents 153a18c + ec479c0 commit f69d709
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions src/quacc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ def atoms_from_dict(d: dict[str, Any]) -> Atoms:
# Monkeypatching for Prefect
if SETTINGS.WORKFLOW_ENGINE == "prefect":
from prefect.futures import PrefectFuture
from prefect.states import State

def _patched_getitem(self, index):
@job
Expand All @@ -76,3 +77,4 @@ def _getitem(future, index_):
return _getitem(self, index)

PrefectFuture.__getitem__ = _patched_getitem
State.__getitem__ = _patched_getitem
2 changes: 1 addition & 1 deletion tests/requirements-covalent.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
covalent==0.234.0rc0
covalent-cloud==0.45.1
covalent-hpc-plugin==0.0.8
covalent-slurm-plugin==0.16.0rc0
covalent-slurm-plugin==0.18.0
2 changes: 1 addition & 1 deletion tests/requirements-parsl.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
parsl[monitoring]==2024.2.26
parsl[monitoring]==2024.3.4
2 changes: 1 addition & 1 deletion tests/requirements-prefect.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
dask-jobqueue==0.8.5
prefect==2.16.1
prefect==2.16.3
prefect-dask==0.2.6

0 comments on commit f69d709

Please sign in to comment.