Skip to content

Commit

Permalink
reorder exercises for conda-lock chapter
Browse files Browse the repository at this point in the history
  • Loading branch information
chendaniely committed Nov 18, 2024
1 parent 6f2bc56 commit c5b99d5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions book/lectures/080-conda-lock.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ Conda-lock also relies on a source file, we'll be using `environment.yml`.
conda install -c conda-forge conda-lock
```

:::{.callout-note}
:::{.exercise title="Exercise 1"}
You may want to install `conda-lock` into a new environment,
especially if you want to follow along and do the exercises in this chapter.

Expand All @@ -137,7 +137,7 @@ generated from conda-lock > 1.0.
The `conda-<platform>.lock` is the older platform specific lock files you can create,
e.g., `conda-linux-64.lock`.

:::{.exercise title="Exercise 1"}
:::{.exercise title="Exercise 2"}
Let's create our first `conda-lock.yml` file

#### Step 1: Environment Setup
Expand Down Expand Up @@ -240,7 +240,7 @@ this may take a long time, especially if you only need to target
a single platform (or a subset of platforms).
we can use the `-p` or `--platform` for the `lock` command.

:::{.exercise title="Exercise 2"}
:::{.exercise title="Exercise 3"}

#### Generating platform specific lock files

Expand Down Expand Up @@ -270,7 +270,7 @@ $ wc -l conda-lock.yml
Now that we have a `conda-lock.yml` file,
we can use it to create a new environment with the `install` command

:::{.exercise title="Exercise 3"}
:::{.exercise title="Exercise 4"}

#### Create a new environment from `conda-lock.yml`

Expand Down

0 comments on commit c5b99d5

Please sign in to comment.