Skip to content

Commit 30c0a26

Browse files
Merge pull request #171 from hmonroedd/install
Link to install
2 parents 1780c0a + 2b527e6 commit 30c0a26

4 files changed

Lines changed: 12 additions & 9 deletions

File tree

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,8 @@ git clone https://github.com/festim-dev/FESTIM-workshop
2222
conda env create -f environment.yml
2323
```
2424

25-
3. You should then be able to execute the notebooks with the ``festim-workshop`` environment
25+
3. Compile the book locally
26+
27+
```
28+
jupyter-book build book
29+
```

book/_toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ parts:
77
- caption: Getting started
88
chapters:
99
- file: content/applications/task01
10+
- url: https://festim.readthedocs.io/en/latest/installation.html
11+
title: Installation
1012

1113
- caption: Fundamentals
1214
chapters:

book/content/applications/surrogate.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,8 +230,8 @@ We will train several models by simply instantiating `AutoEmulate` with our $X$
230230
:tags: [hide-output]
231231
232232
from autoemulate import AutoEmulate
233-
# Run AutoEmulate with default settings
234-
ae = AutoEmulate(X, Y, log_level="info")
233+
234+
ae = AutoEmulate(X, Y, log_level="info", models=["GaussianProcessRBF"])
235235
```
236236

237237
```{code-cell} ipython3

environment.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,11 @@ channels:
44
- defaults
55

66
dependencies:
7-
- python<3.13
8-
- pip=23.3
9-
- setuptools<82
7+
- setuptools
108
- wheel<0.45
119
- jupyter-book<2.0
12-
- python<3.14 # som pyvista incompatibility issues with python 3.14
10+
- python<3.13 # autoemulate is not compatible with Python 3.13 yet
1311
- pip=23.3
14-
- setuptools<82
15-
- wheel<0.45
1612
- jupytext # necessary to open MyST files using BinderHub https://jupyterbook.org/en/stable/interactive/launchbuttons.html#launchbuttons-binder
1713
- sphinx-tags
1814
- ipywidgets
@@ -38,4 +34,5 @@ dependencies:
3834
- h-transport-materials==0.16
3935
- foam2dolfinx>=1.1
4036
- openmc2dolfinx
37+
- torch<2.12.0
4138
- autoemulate

0 commit comments

Comments
 (0)