From 1e70768f8d423f07241c85c1313d61c49ece5209 Mon Sep 17 00:00:00 2001 From: Felipe Bordeu Date: Tue, 7 Apr 2026 19:28:17 +0930 Subject: [PATCH 1/2] Add enviroment.yml for the examples --- binder/environment.yml | 44 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 binder/environment.yml diff --git a/binder/environment.yml b/binder/environment.yml new file mode 100644 index 00000000..51cc5095 --- /dev/null +++ b/binder/environment.yml @@ -0,0 +1,44 @@ +name: plaid-dev +channels: + - conda-forge + - nodefaults +dependencies: + - plaid +##### RUN ##### +#---# base + - tqdm +#---# io + - pyyaml +#---# storage backends + - pycgns-core + - zarr +#---# SciML + - scikit-learn + - datasets + - numpy + - matplotlib-base +#---# data validation + - pydantic +##### DEV/TESTS/EXAMPLES ##### +#---# mesh/graph libs + - muscat-core>=2.5.1 +#---# base + - rich +#---# optim + - optuna +#---# testing + - pytest + - pytest-cov +#---# code formatters + - ruff +#---# dev + - pre-commit +#---# doc + - sphinx + - sphinx-autoapi + - sphinx-tabs + - sphinxcontrib-bibtex + - myst-nb + - myst-parser + - furo + - jupytext \ No newline at end of file From 0b559399a2282814ea7f034d39a42c8b706b600b Mon Sep 17 00:00:00 2001 From: Felipe Bordeu Date: Wed, 8 Apr 2026 09:22:26 +0930 Subject: [PATCH 2/2] Set Jupytext as default for .py files --- CHANGELOG.md | 1 + binder/postBuild | 1 + 2 files changed, 2 insertions(+) create mode 100755 binder/postBuild diff --git a/CHANGELOG.md b/CHANGELOG.md index 672e80b4..7c11b282 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - (sample/features) add_field: check field size consistency with geometrical support. +- Add files to support mybinder.org ### Changed diff --git a/binder/postBuild b/binder/postBuild new file mode 100755 index 00000000..2ee88640 --- /dev/null +++ b/binder/postBuild @@ -0,0 +1 @@ +jupytext-config set-default-viewer python