Skip to content

Commit

Permalink
Minimal changing indentation in comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
Satish Kamath committed Dec 13, 2023
1 parent 57d6e52 commit fd48cc4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions eessi/testsuite/hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,9 @@ def _assign_num_tasks_per_node(test: rfm.RegressionTest, num_per: int = 1):
- num_cpus_per_task = test.default_num_cpus_per_node / num_tasks_per_node
"""

# OSU test inherits a default num_tasks_per_node = 1 from hpctestlib.
# There has to be a condition where a non-default value of num_per replaces the original num_tasks_per_node.
# OSU test inherits a default num_tasks_per_node = 1 from hpctestlib. There
# has to be a condition where a non-default value of num_per replaces the
# original num_tasks_per_node.
if test.num_tasks_per_node and num_per != 1:
if test.num_tasks_per_node != num_per:
test.num_tasks_per_node = num_per
Expand Down

0 comments on commit fd48cc4

Please sign in to comment.