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

Add lammps to the notebook env #115

Merged
merged 15 commits into from
Nov 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .binder/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ dependencies:
- pyiron_base
- pyiron_atomistics >= 0.2.57
- ryvencore
- python >= 3.8
- lammps
25 changes: 23 additions & 2 deletions .binder/postBuild
Original file line number Diff line number Diff line change
@@ -1,10 +1,31 @@
# pip install master
pip install .
pip install --no-deps .
# Note: This produces build and ironflow.egg-info directories

# clean up
if [ -d "notebooks" ]; then
mv notebooks/* .
fi
if [ -d "${HOME}/ironflow" ]; then
rm -r ${HOME}/.binder ${HOME}/.ci_support ${HOME}/.github ${HOME}/docs ${HOME}/ironflow ${HOME}/notebooks ${HOME}/LICENSE ${HOME}/MANIFEST.in ${HOME}/setup.cfg ${HOME}/setup.py ${HOME}/versioneer.py ${HOME}/CONTRIBUTING.rst ${HOME}/README.md ${HOME}/CODE_OF_CONDUCT.md
rm -r ${HOME}/.binder \
${HOME}/.ci_support \
${HOME}/.github \
${HOME}/build \
${HOME}/docs \
${HOME}/notebooks \
${HOME}/ironflow \
${HOME}/ironflow.egg-info \
${HOME}/tests \
${HOME}/.gitattributes \
${HOME}/.gitignore \
${HOME}/.gitpod \
${HOME}/.readthedocs.yml \
${HOME}/CODE_OF_CONDUCT.md \
${HOME}/CONTRIBUTING.rst \
${HOME}/LICENSE \
${HOME}/MANIFEST.in \
${HOME}/README.md \
${HOME}/setup.cfg \
${HOME}/setup.py \
${HOME}/versioneer.py
fi
5 changes: 5 additions & 0 deletions .ci_support/environment-notebooks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
channels:
- conda-forge
dependencies:
- python >= 3.8
- lammps
1 change: 1 addition & 0 deletions .ci_support/exclude
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
example_table.ipynb
4 changes: 3 additions & 1 deletion .github/workflows/push-pull-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,6 @@ on:
jobs:
pyiron:
uses: pyiron/actions/.github/workflows/push-pull-main.yml@main
secrets: inherit
secrets: inherit
with:
notebooks-env-files: .ci_support/environment.yml .ci_support/environment-notebooks.yml
1 change: 1 addition & 0 deletions docs/environment.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
channels:
- conda-forge
dependencies:
- ipykernel
- nbsphinx
- ipycanvas
- ipython
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
36 changes: 0 additions & 36 deletions notebooks/version.ipynb

This file was deleted.