From 3d9e0e05baf92bb53775c8ec1a2e65de4169fa97 Mon Sep 17 00:00:00 2001 From: Corwin Kerr Date: Wed, 6 Dec 2023 17:13:00 -0500 Subject: [PATCH] Grammar and spelling fixes --- flow/environment.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/flow/environment.py b/flow/environment.py index 8f9a183c7..f3c8e099a 100644 --- a/flow/environment.py +++ b/flow/environment.py @@ -114,9 +114,9 @@ class _PartitionConfig: - GPUs for a partition - Node type of a partition - When querying a value for a specific partition the logic first searches the - provided mapping if any for the partition, if it is not found then the - mapping is searched for "default" if it exists, if not the class default is + When querying a value for a specific partition, the logic first searches the + provided mapping, if any, for the partition. If it is not found, then the + mapping is searched for "default" if it exists. If not, the class default is used. 1. Partition specific -> 2. Provided default -> 3. _PartitionConfig default @@ -131,11 +131,11 @@ class _PartitionConfig: Parameters ---------- cpus_per_node: dict[str, int], optional - Mapping between partitions and CPUs per node. Defaults to an empyt `dict`. + Mapping between partitions and CPUs per node. Defaults to an empty `dict`. gpus_per_node: dict[str, int], optional - Mapping between partitions and GPUs per node. Defaults to an empyt `dict`. + Mapping between partitions and GPUs per node. Defaults to an empty `dict`. node_types: dict[str, _NodeTypes], optional - Mapping between partitions and node types. Defaults to an empyt `dict`. + Mapping between partitions and node types. Defaults to an empty `dict`. """ _default_cpus_per_node = None