-
Notifications
You must be signed in to change notification settings - Fork 72
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 536 input_data #358
Conversation
1b1acb5
to
99bacd7
Compare
Requesting review @davidbrownell, @krachwal, @rfievet, @ketanbj, @varun646, @jyoung3131 |
qcelemental/models/v2/procedures.py
Outdated
@@ -348,11 +354,17 @@ def convert_v( | |||
if check_convertible_version(version, error="TorsionDriveResult") == "self": | |||
return self | |||
|
|||
opthist_class = next(iter(self.optimization_history.values()))[0].__class__ |
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.
Nit: Can the opthist_class
variable be moved into the if
-clause given it seems to only be used there?
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.
Sure. I placed it outside since it was likely to be of use to all conversions (besides the no-op), but multiple versions are a long way off.
def test_model_survey_convertable(smodel1, smodel2, every_model_fixture, request, schema_versions): | ||
anskey = request.node.callspec.id.replace("None", "v1") | ||
# fmt: off | ||
ans = [ |
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.
Nit: Consider making this a set given that it seems to only be used for lookup and is not used with indexes.
* AtRes.input_data * external_input_data * fix print * Apply suggestions from code review * Update Lint.yml * Update procedures.py
currently atop #357Description
AtomicResult(AtomicInput)
-->AtomicResult()
withAtomicResult.input_data = AtomicInput
Changelog description
Status