forked from pyiron/pyiron-publication-template
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request pyiron#5 from pyiron/binder
Move mybinder configuration .binder
- Loading branch information
Showing
8 changed files
with
38 additions
and
26 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# install environment | ||
mamba env update --name notebook --file environment.yml | ||
|
||
# move pyiron config to home directory | ||
mv .binder/.pyiron . | ||
|
||
# import dataset | ||
bash .github/ci_support/import_dataset.sh | ||
|
||
# install nglview | ||
bash .github/ci_support/install_nglview.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/bash | ||
for ds in $(ls calculation/*.tar.gz); do | ||
cp ${ds} . | ||
cp calculation/export.csv . | ||
file=$(basename ${ds} .tar.gz) | ||
python << EOF | ||
from pyiron_base import Project | ||
Project("calculation").unpack("${file}") | ||
EOF | ||
rm $(basename ${ds}) | ||
rm export.csv | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/bash | ||
|
||
# ngl view for jupyter | ||
jupyter nbextension install nglview --py --sys-prefix | ||
jupyter nbextension enable nglview --py --sys-prefix | ||
|
||
# ngl view for jupyter lab | ||
jupyter labextension install @jupyter-widgets/jupyterlab-manager --no-build | ||
jupyter labextension install nglview-js-widgets --minimize=False |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
File renamed without changes.