Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error from test_run_opt #158

Open
ElliottKasoar opened this issue Oct 17, 2024 · 1 comment · May be fixed by #159
Open

Error from test_run_opt #158

ElliottKasoar opened this issue Oct 17, 2024 · 1 comment · May be fixed by #159
Assignees
Labels
aiida-mlip to help filter the issues bug Something isn't working

Comments

@ElliottKasoar
Copy link
Member

When running tests via pytest or tox, I get:

FAILED tests/calculations/test_geomopt.py::test_run_opt - AssertionError: assert 'results_dict' in {'remote_folder': <RemoteData: uuid: a5fd0271-3769-4830-9e7b-b9bc4e35d9a3 ...

This may be due to changes to ase, or janus-core.

@ElliottKasoar ElliottKasoar added bug Something isn't working aiida-mlip to help filter the issues labels Oct 17, 2024
@ElliottKasoar
Copy link
Member Author

ElliottKasoar commented Oct 17, 2024

I think this is a result of changes to vectors_only and fully_opt.

The error handling could definitely be improved. Running this in the tutorial notebook returns

from aiida.engine import run_get_node
result, node = run_get_node(geomoptCalc, **inputs)
print("CALCULATION FINISHED")

10/17/2024 12:33:47 PM <33562> aiida.parser.GeomOptParser: [ERROR] Found files '['_scheduler-stderr.txt', '_scheduler-stdout.txt', 'aiida-stdout.txt']', expected to find '{'aiida-stdout.txt', 'aiida.log'}'
10/17/2024 12:33:47 PM <33562> aiida.orm.nodes.process.calculation.calcjob.CalcJobNode: [WARNING] output parser returned exit code<305>: Some output files missing or cannot be read
CALCULATION FINISHED

@ElliottKasoar ElliottKasoar self-assigned this Oct 17, 2024
@ElliottKasoar ElliottKasoar linked a pull request Oct 17, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
aiida-mlip to help filter the issues bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant