Skip to content

Commit

Permalink
more
Browse files Browse the repository at this point in the history
  • Loading branch information
alefisico committed Nov 18, 2024
1 parent 05aec78 commit 3d88c2f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
4 changes: 2 additions & 2 deletions episodes/SUSYexample.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,12 +128,12 @@ snakemake --snakefile Snakefile --configfile inputs.yaml

### Did the workflow finish succesfully?

While we've covered the core concepts of Snakemake, there are numerous additional flags that can be used to customize and optimize your workflows. One such flag is `--use-apptainer`, which is essential when running rules within containerized environments.
While we've covered the core concepts of Snakemake, there are numerous additional flags that can be used to customize and optimize your workflows. One such flag is `--use-singularity` (or `--use-apptainer` in newer Snakemake versions), which is essential when running rules within containerized environments.

By using `--use-apptainer`, Snakemake ensures that the specified container is utilized for each rule's execution, providing a consistent and isolated environment for your workflow. Let's try our example with

```BASH
snakemake --snakefile Snakefile --configfile inputs.yaml --use-apptainer
snakemake --snakefile Snakefile --configfile inputs.yaml --use-singularity
```
::::::::::::::::

Expand Down
15 changes: 8 additions & 7 deletions learners/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@ This tutorial is your comprehensive guide to workflow automation. You'll learn:
* The benefits of cloud-based workflow execution with the [REANA](https://reana.cern.ch/) platform
* How to migrate your local Snakemake workflows to the REANA environment

::::::::::::: discussion

## Important Information about the tutorial

Please note that some steps in this tutorial are **intentionally designed to produce errors**. These errors will highlight specific features and capabilities of the tools involved. If you encounter any errors, please continue following the tutorial to understand the underlying concepts.

::::::::::::::::::::::::::::::::

## Basic knowledge

This tutorial assumes that the user has basic knowledge on `git`, `singularity` or `docker` containers, `python` and `CMSSW`.
Expand Down Expand Up @@ -136,10 +144,3 @@ snakemake --help
The rest of the tutorial will assume that the bash function exists. So better to emphasize to do that.
:::::::::::::::::::::::

::::::::::::: discussion

## Important Information about the tutorial

Please note that some steps in this tutorial are **intentionally designed to produce errors**. These errors will highlight specific features and capabilities of the tools involved. If you encounter any errors, please continue following the tutorial to understand the underlying concepts.

::::::::::::::::::::::::::::::::

0 comments on commit 3d88c2f

Please sign in to comment.