Skip to content

Conversation

@ceriottm
Copy link
Collaborator

This is a simple but complete example of calculations of the GCH for a dataset of organic crystal polymorphs

@PicoCentauri
Copy link
Collaborator

ase is not a dependency for the examples. Can you add ase to examples/requirements.txt?

@rosecers
Copy link
Collaborator

Can you run the notebook so we can see the outputs?

@ceriottm
Copy link
Collaborator Author

Looks like the doc builder does not honor requirements.txt

@PicoCentauri
Copy link
Collaborator

Yes, unfortunately you have to also add this to docs/requirements.txt for now. This, issue will be fixed in #170.

@ceriottm
Copy link
Collaborator Author

OK we can wait for #170 to be merged. Can someone instruct on how to set up data import? I guess we don't want to ad 5MB of features to the main repo.

@ceriottm
Copy link
Collaborator Author

Also, is everyone happy with having try - except import clauses to show how one could compute features using rascaline?

@PicoCentauri
Copy link
Collaborator

I would not against using a rascaline in an howto. What about in an extra howto guide? Personally, I don't like putting these try except blocks in examples. If people want to run the full example they can install these dependencies.

@rosecers
Copy link
Collaborator

@ceriottm in general this looks great! Do we know if it will render the chemiscopes correctly? The preview is showing javascript errors, but it could also be my browser.

@ceriottm
Copy link
Collaborator Author

@ceriottm in general this looks great! Do we know if it will render the chemiscopes correctly? The preview is showing javascript errors, but it could also be my browser.

OK, solved I think - hid the cells in nbsphinx, I don't think we can get an embedded chemiscope even though it'd be amazing. In all events, not needed for this PR

@ceriottm
Copy link
Collaborator Author

ceriottm commented Apr 3, 2023

OK to merge?



- Fingerprint Selection:
- Features and Samples Selection:
Copy link
Collaborator

Choose a reason for hiding this comment

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

Was this an intentional change?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes - the text and methods below refers to both features and samples, so it seemed more consistent to mention also samples in the title.

def _linear_interpolator(points, values):
"""
Returns linear interpolater for unstructured D-D data. Tessellate the input point
Returns linear interpolator for unstructured D-D data. Tessellate the input point
Copy link
Collaborator

Choose a reason for hiding this comment

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

I typically don't like multiple types of changes within one PR, can you roll these into a separate one?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Sorry, no.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I am all for consistency but I'm not going to make a separate pull request to correct a couple of typos.

@rosecers
Copy link
Collaborator

rosecers commented Apr 3, 2023

OK to merge?

Two lingering things then should be good

@ceriottm ceriottm merged commit 133abe8 into main Apr 6, 2023
@ceriottm ceriottm deleted the gch-example branch April 6, 2023 23:07
PicoCentauri added a commit that referenced this pull request Apr 11, 2023
PicoCentauri added a commit that referenced this pull request Apr 11, 2023
PicoCentauri added a commit that referenced this pull request Apr 11, 2023
PicoCentauri added a commit that referenced this pull request Apr 11, 2023
PicoCentauri added a commit that referenced this pull request Apr 11, 2023
PicoCentauri added a commit that referenced this pull request Apr 11, 2023
PicoCentauri added a commit that referenced this pull request Apr 12, 2023
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.

4 participants