diff --git a/book/references/parallel-configuration.md b/book/references/parallel-configuration.md index 4e09e4e..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. ``` @@ -161,6 +159,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)).