From 5987f30b91f7d6f76007d98c831c902c638d292a Mon Sep 17 00:00:00 2001 From: Oddant1 Date: Tue, 1 Oct 2024 10:26:33 -0700 Subject: [PATCH 1/2] Review --- book/references/parallel-configuration.md | 2 ++ book/tutorials/parallel-pipeline.md | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/book/references/parallel-configuration.md b/book/references/parallel-configuration.md index 4e09e4e..7aff15f 100644 --- a/book/references/parallel-configuration.md +++ b/book/references/parallel-configuration.md @@ -161,6 +161,8 @@ This implies that after your first time running QIIME 2 in parallel without a co Alternatively, when using {term}`q2cli`, you can provide a specific configuration for use in configuring parsl using the `--parallel-config` option. If provided, this overrides the priority order above. +Similarly, when using the {term}`Python 3 API`, you can provide a specific configuration by passing a `parsl.Config` object into your `ParallelConfig` context manager. + ````{admonition} user_config_dir and site_config_dir :class: note On Linux, `user_config_dir` will usually be `$HOME/.config/qiime2/`. diff --git a/book/tutorials/parallel-pipeline.md b/book/tutorials/parallel-pipeline.md index 026c08e..a992525 100644 --- a/book/tutorials/parallel-pipeline.md +++ b/book/tutorials/parallel-pipeline.md @@ -68,7 +68,7 @@ If you're using a system with parallel computing capabilities (e.g., at least si ## Python 3 API -Parallel Pipeline execution through the Python API is done using a `parsl.Config` object as a context manager. +Parallel Pipeline execution through the Python API is done using a `ParallelConfig` object as a context manager. These objects take a `parsl.Config` object and an optional dictionary mapping action names to executor names as input. If no config is provided your default configuration will be used (see [](qiime2-configuration-precedence)). From 0cdb17e3b90b6193d44f3f33e4d92152290ea8c6 Mon Sep 17 00:00:00 2001 From: Oddant1 Date: Tue, 1 Oct 2024 10:29:22 -0700 Subject: [PATCH 2/2] dictionary --- book/references/parallel-configuration.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/book/references/parallel-configuration.md b/book/references/parallel-configuration.md index 7aff15f..b2c781b 100644 --- a/book/references/parallel-configuration.md +++ b/book/references/parallel-configuration.md @@ -87,8 +87,6 @@ strategy = "None" is a top-level Parsl configuration parameter that you can [read more about in the Parsl documentation](https://parsl.readthedocs.io/en/stable/userguide/configuring.html#multi-threaded-applications). This may need to be set differently depending on your system. -If you were to load this into Python using tomlkit you would get the following dictionary: - Next, the first executor is added. ```