Skip to content

Commit

Permalink
Minor fixes to the training material
Browse files Browse the repository at this point in the history
Signed-off-by: Marcel Ribeiro-Dantas <[email protected]>
  • Loading branch information
mribeirodantas committed Jan 6, 2024
1 parent 3af330d commit f23e4b5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/advanced/metadata.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ map { id, reads ->

To quickly sanity-check a groovy expression, try the [Groovy web console](https://groovyconsole.appspot.com/)

We are almost there, but the we still don't have the "treatment" metadata captured in our meta map. The treament is encoded in this example in the name of the parent directory relative to the reads. Inside the map object, the reads are a list of two UnixPath objects. These objects implement the [`java.nio.Path`](https://docs.oracle.com/javase/7/docs/api/java/nio/file/Path.html) interface, which provides us many useful methods, including `getParent()`.
We are almost there, but we still don't have the "treatment" metadata captured in our meta map. The treament is encoded in this example in the name of the parent directory relative to the reads. Inside the map object, the reads are a list of two UnixPath objects. These objects implement the [`java.nio.Path`](https://docs.oracle.com/javase/7/docs/api/java/nio/file/Path.html) interface, which provides us many useful methods, including `getParent()`.

We can call the `getParent()` method on each of the paths like so:

Expand Down Expand Up @@ -202,4 +202,4 @@ process ExampleProcess {
// ...
```

This channel "shape" or cardinarlity is extremely common in nf-core modules and subworkflows and is critical to enabling reusability of these modules.
This channel "shape" or cardinality is extremely common in nf-core modules and subworkflows and is critical to enabling reusability of these modules.
2 changes: 1 addition & 1 deletion docs/basic_training/seqera_platform.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ It supports the launching of workflows into a growing number of **cloud** and **

![Compute environments](img/compute_env_platforms.png)

Each compute environment must be pre-configured to enable Seqera Platofrm to submit tasks. You can read more on how to set up each environment using the links below.
Each compute environment must be pre-configured to enable Seqera Platform to submit tasks. You can read more on how to set up each environment using the links below.

!!! tip "The following guides describe how to configure each of these compute environments."

Expand Down

0 comments on commit f23e4b5

Please sign in to comment.