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

updated env matching examples #64

Merged
merged 20 commits into from
Apr 21, 2023
Merged

updated env matching examples #64

merged 20 commits into from
Apr 21, 2023

Conversation

melodyyzh
Copy link
Contributor

@melodyyzh melodyyzh commented Mar 9, 2023

Description

Updated environment matching examples based on a few recent API changes.

Resolves: #58

Checklist:

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@melodyyzh
Copy link
Contributor Author

The notebook ran except for the registration =True block, it has been runing for longger than reasonable time and I could not figure out what was wrong.
Also, I am not sure what changes I need to make in the notebook for the Ragged array PR #1064.

@melodyyzh melodyyzh requested a review from tommy-waltmann March 9, 2023 19:57
@tommy-waltmann
Copy link
Contributor

Let's start by changing the base branch from master to next. We can make the other necessary changes after that.

@melodyyzh melodyyzh changed the base branch from master to next March 9, 2023 23:32
@melodyyzh
Copy link
Contributor Author

Alright, just changed the base branch

@@ -24,7 +24,9 @@
"cell_type": "code",
Copy link
Contributor

@tommy-waltmann tommy-waltmann Mar 13, 2023

Choose a reason for hiding this comment

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

Line #11.        env_neighbors=neighbor,

The cluster_neighbors keyword argument should come before the env_neighbors argument. There is one other place in this PR where the same mistake occurs.


Reply via ReviewNB

@melodyyzh melodyyzh marked this pull request as ready for review March 30, 2023 22:31
@melodyyzh melodyyzh requested a review from a team as a code owner March 30, 2023 22:31
Copy link
Contributor

@tommy-waltmann tommy-waltmann left a comment

Choose a reason for hiding this comment

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

Looks good, great job @melodyyzh!

@melodyyzh
Copy link
Contributor Author

Thanks for your help!

Copy link
Contributor

@tommy-waltmann tommy-waltmann left a comment

Choose a reason for hiding this comment

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

It appears that I prematurely approved this PR. The notebook "Identifying Local Environments in a Complex Crystal" is in good shape, but the EnvironmentCluster module intro notebook still needs to be updated.

Copy link
Contributor

@tommy-waltmann tommy-waltmann left a comment

Choose a reason for hiding this comment

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

This PR looks good. It only fails the Nematic example, which is being fixed on #68

@tommy-waltmann tommy-waltmann merged commit 993844c into next Apr 21, 2023
@tommy-waltmann tommy-waltmann deleted the env-matching-egs branch April 21, 2023 17:15
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.

Update Environment Matching Examples
2 participants