-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
296 changed files
with
290,668 additions
and
36,841 deletions.
There are no files selected for viewing
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,31 @@ | ||
# Run example notebooks in Binder | ||
|
||
Binder (https://mybinder.org) provides a short-lived, temporary Linux cloud environment where Jupyter notebooks can be run without having to install any software locally. | ||
|
||
## Quickstart | ||
|
||
Click on this button to launch an environment pointing to the current `main` branch of this repository: [](https://mybinder.org/v2/gh/IDAES/examples/HEAD) | ||
|
||
## VERY IMPORTANT NOTE | ||
|
||
A Binder environment is destroyed automatically after a few minutes of inactivity, which means that **any unsaved progress will be lost**. To avoid this, users should download a copy of a notebook file from the Binder environment to their local machine through the browser (in the Jupyter Lab file browser menu, right click on the notebook file > Download). For more information, see https://mybinder.readthedocs.io/en/latest/about/about.html#how-long-will-my-binder-session-last. | ||
|
||
## Customization | ||
|
||
Binder uses a Git repository hosted on e.g. GitHub to fetch the notebooks and create the runtime environment. | ||
Users can specify a specific fork, branch, and Git ref (e.g. a particular commit hash), as well as the path to a particular directory or notebook file within the repository, that will be used | ||
when first starting the environment. | ||
|
||
These options can be specified interactively on [Binder's homepage](https://mybinder.org/), which will create a URL that can then be shared with others to generate a (separate) instance of the environment with the same repository settings. | ||
|
||
Alternatively, the URL can be generated manually according to the following schema: | ||
|
||
```txt | ||
https://mybinder.org/v2/gh/<github-org-or-user-name>/<github-repo-name>/<git-ref>?labpath=<path-to-notebook> | ||
``` | ||
|
||
Example, for branch `mybranch` of `myuser`'s fork of this repository, pointing to the `idaes_examples/notebooks/docs/tut/introduction_exercise.ipynb` notebook file: | ||
|
||
```txt | ||
https://mybinder.org/v2/gh/myuser/examples/mybranch?labpath=idaes_examples/notebooks/docs/tut/introduction_exercise.ipynb | ||
``` |
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,4 @@ | ||
libgfortran4 | ||
libgomp1 | ||
liblapack3 | ||
libblas3 |
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,2 @@ | ||
set -e | ||
idaes get-extensions --verbose --distro ubuntu1804 |
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,3 @@ | ||
--editable .[omlt] | ||
|
||
idaes-pse @ git+https://github.com/IDAES/idaes-pse@main |
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,10 @@ | ||
# -text: do not apply line ending normalization | ||
# -merge: do not try to merge | ||
# `binary` can also be used corresponding to `-text -merge -diff` | ||
variables.data-* -text -merge | ||
variables.index -text -merge | ||
*.pb -text -merge | ||
*.pkl -text -merge | ||
*.srw -text -merge | ||
*.npy -text -merge | ||
*.png -text -merge |
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
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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.