-
Notifications
You must be signed in to change notification settings - Fork 3
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
materials project feature ranges based on conventional unit cells #114
Conversation
@hasan-sayeed thanks for doing this! A few things here: you committed your API key, so now that's available for anyone to see (despite being unlikely that someone will see it on a PR). If you're working on Colab, follow the G Drive instructions; if you're working on this locally then follow the I suggest using a variable name other than Last, to get it to pass the linting you'll need to run pre-commit on your files. See https://github.com/sparks-baird/xtal2png/runs/6952260006?check_suite_focus=true (which you get to by clicking on "details" below: It would be nice if the final histogram image was saved in the notebook. If you're running on Colab, you need to download the notebook locally and then update the PR separately. If you're running locally, just make sure to "run all cells" from a fresh kernel and it should include the images in the nb. Since it seems like you modified the original file instead of appending to it, leave the original file (without your changes) and rename this version to something unique, probably:
so that it gets added as a separate notebook, since we want to keep the original notebook intact. |
Co-Authored-By: Hasan Muhammad Sayeed <[email protected]>
Co-Authored-By: Hasan Muhammad Sayeed <[email protected]>
@hasan-sayeed, I took care of the renaming (filename and You'll still need to take care of the API key being exposed and rerunning the notebook. |
@hasan-sayeed nvm about the histogram figure displaying - I'm forgetting that's just an issue with plotly and Jupyter notebooks. I'd say don't worry about that one. |
LowerUpperIt looks like all the values are identical to the original notebook, indicating the downloaded structures from pymatgen are by default the same as what you get with |
It would also probably be good to look at the number of sites, which you can access via |
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.
What were the changes to the 2.0-
notebook? If this wasn't intentional, go ahead and revert the changes to the notebook
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.
@hasan-sayeed just about there; see my updates. Please re-run the latest version of the notebook so that it has the output for num_sites
embedded (a change I added) into the output and commit it again.
Not sure if you had to skip the last 2 cells or if it ran OK for you. If it will run OK, please save a copy of the various HTML and PNG outputs to the xtal2png GDrive folder I shared with you since we might include these in the supporting info of a manuscript. Trying to keep the GitHub repo relatively lean for when people clone it, but the single HTML and PNG file you included here are fine. If you had to skip the last 2 cells, don't worry about those figures.
Thanks @hasan-sayeed! |
No description provided.