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

Csse layout 536 input_data #358

Merged
merged 6 commits into from
Nov 27, 2024
Merged

Csse layout 536 input_data #358

merged 6 commits into from
Nov 27, 2024

Conversation

loriab
Copy link
Collaborator

@loriab loriab commented Nov 12, 2024

currently atop #357

Description

Changelog description

Status

  • Code base linted
  • Ready to go

Copy link

codecov bot commented Nov 12, 2024

Codecov Report

Attention: Patch coverage is 68.62745% with 16 lines in your changes missing coverage. Please review.

Project coverage is 86.75%. Comparing base (a1f7dcc) to head (99bacd7).
Report is 6 commits behind head on next2024.

Additional details and impacted files

@loriab loriab changed the title Csse layout input_data Csse layout 536 input_data Nov 14, 2024
@loriab loriab mentioned this pull request Nov 20, 2024
4 tasks
@loriab loriab marked this pull request as ready for review November 26, 2024 17:33
@loriab
Copy link
Collaborator Author

loriab commented Nov 26, 2024

Requesting review @davidbrownell, @krachwal, @rfievet, @ketanbj, @varun646, @jyoung3131

@@ -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__

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?

Copy link
Collaborator Author

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 = [

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.

@loriab loriab merged commit 8b56ec8 into MolSSI:next2024 Nov 27, 2024
15 checks passed
loriab added a commit that referenced this pull request Jan 13, 2025
* AtRes.input_data

* external_input_data

* fix print

* Apply suggestions from code review

* Update Lint.yml

* Update procedures.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants