-
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
Conversation
32d9b24
to
0b781c6
Compare
Requesting review @davidbrownell, @krachwal, @rfievet, @ketanbj, @varun646, @jyoung3131 |
mdl = model_wrapper(data, qcelemental.models.v1.AtomicInput) | ||
elif isinstance(data, qcelemental.models.v2.AtomicInput): | ||
mdl = model_wrapper(data, qcelemental.models.v2.AtomicInput) | ||
v1_model = getattr(qcelemental.models.v1, "AtomicInput") |
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.
@@ -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 comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like as AtomicResult
can be removed.
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.
Thanks, that's the second time I've messed that line up. First time was something like ... import AtomicInput as AtomicResult
, which was confusing. I've fixed this and added a comment for your previous comment in the next PR.
@@ -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 | |||
from qcelemental.models.v2 import BasisSet |
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 BasisSet
being used?
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.
* failedoperation.input_data as object when possible * fix more tests, incl. d3/d4 return FailedOp and RandomError treated same as others * fix the rest, incl. let dicts be cast to models based on schema_version field if present * fix xtb * fixes for py38 and dftd3 * fix for adcc * test dftd3 on windows * try windows and new d3 * fix * test path * regular testing lanes
Description
Changelog description
Status