Spaces:
Running
Running
bugfix: variable should be s not state from outer scope
Browse files- mlip_arena/tasks/eos.py +1 -1
mlip_arena/tasks/eos.py
CHANGED
@@ -148,7 +148,7 @@ def run(
|
|
148 |
)
|
149 |
states.append(state)
|
150 |
results = [
|
151 |
-
s.result(raise_on_failure=False) for s in states if
|
152 |
]
|
153 |
|
154 |
volumes = [f["atoms"].get_volume() for f in results]
|
|
|
148 |
)
|
149 |
states.append(state)
|
150 |
results = [
|
151 |
+
s.result(raise_on_failure=False) for s in states if s.is_completed()
|
152 |
]
|
153 |
|
154 |
volumes = [f["atoms"].get_volume() for f in results]
|