Skip to content

Bringing in examples and tests based on new interface.#11

Merged
marcinmiklitz merged 6 commits intomarcinmiklitz:developmentfrom
andrewtarzia:examples_1
Jun 8, 2025
Merged

Bringing in examples and tests based on new interface.#11
marcinmiklitz merged 6 commits intomarcinmiklitz:developmentfrom
andrewtarzia:examples_1

Conversation

@andrewtarzia
Copy link
Copy Markdown
Collaborator

@andrewtarzia andrewtarzia commented Jun 7, 2025

As with previous PRs, this is still unlikely to pass all the tests or GH actions because the code base has not been updated. But the tests and examples are equivalent (within numerical error) to before and adhering to them should minimise breaking changes.

Note that the tests that fail in test_molecular seem like genuine changes in the numerical rebuild process. I wonder if changing versions actually has altered some of the math slightly?
This will have to be explored upon code work - note the errors in other tests associated with ValueError: setting an array element... are the whole reason why pywindow did not work in Python >= 3.9 (a long detour to get here, but I am happy with easier maintenance in the future!)

Examples are now in jupyter notebook form and python script form. They do not currently run, but will act as a good test to ensure all outputs are maintained.

@andrewtarzia andrewtarzia self-assigned this Jun 7, 2025
@andrewtarzia andrewtarzia marked this pull request as ready for review June 7, 2025 17:51
Copy link
Copy Markdown
Owner

@marcinmiklitz marcinmiklitz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, thanks @andrewtarzia

@marcinmiklitz marcinmiklitz merged commit f275954 into marcinmiklitz:development Jun 8, 2025
1 of 5 checks passed
@andrewtarzia andrewtarzia deleted the examples_1 branch June 9, 2025 11:05
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