-
Notifications
You must be signed in to change notification settings - Fork 82
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
Csse layout 550 error #458
Changes from all commits
919bce2
0d77110
0b781c6
5330a6c
bc3c857
828094c
04599aa
85af55b
19fa613
907aa0d
a7f030b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: test | ||
channels: | ||
- conda-forge | ||
- nodefaults | ||
dependencies: | ||
- dftd3-python =1.2.0 | ||
- gcp-correction | ||
- geometric | ||
- optking | ||
- pymdi | ||
|
||
# Core | ||
- python | ||
- pyyaml | ||
- py-cpuinfo | ||
- psutil | ||
- qcelemental | ||
- pydantic=2 | ||
- pydantic-settings | ||
- msgpack-python | ||
|
||
# Testing | ||
- pytest | ||
- pytest-cov | ||
- codecov | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,8 @@ | |
from pathlib import Path | ||
from typing import TYPE_CHECKING, Any, ClassVar, Dict | ||
|
||
from qcelemental.models.v2 import AtomicResult, BasisSet | ||
from qcelemental.models.v1 import AtomicResult as AtomicResult | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It looks like There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks, that's the second time I've messed that line up. First time was something like |
||
from qcelemental.models.v2 import BasisSet | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
from qcelemental.util import deserialize, parse_version, safe_version, which, which_import | ||
|
||
from ..exceptions import InputError, RandomError, ResourceError, UnknownError | ||
|
@@ -306,4 +307,5 @@ def compute(self, input_model: "AtomicInput", config: "TaskConfig") -> "AtomicRe | |
# Delete keys | ||
output_data.pop("return_output", None) | ||
|
||
return AtomicResult(**output_data) | ||
atres = AtomicResult(**output_data) | ||
return atres.convert_v(2) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a reason to access
AtomicInput
this way rather than though an import? If so, it would be helpful to add a comment to explain why that is necessary.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not a particularly good reason -- I switched in here in programs/model.py (where it's always
AtomicInput
) so the analog was clearer with procedures/model.py https://github.com/MolSSI/QCEngine/pull/458/files#diff-2e40dbc50862d2bd8716a45e9dafab44cb3be4499b972dc1d58b8144ef1ab046R63 where the flavor or Input isn't fixed.