Skip to content

Commit

Permalink
Comment updated
Browse files Browse the repository at this point in the history
Signed-off-by: noopur <[email protected]>
  • Loading branch information
noopurintel committed Dec 11, 2024
1 parent 6af1bd3 commit 9482817
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/end_to_end/models/model_owner.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,9 @@ def register_collaborators(self, plan_path, num_collaborators=None):
self.num_collaborators = num_collaborators if num_collaborators else self.num_collaborators

try:
# Straightforward writing to the yaml file is not recommended here
# As the file might contain spaces and tabs which can cause issues
# Open the file and add the entries from scratch.
# This way even if there is a mismatch with some models having it blank
# and others having values, it will be consistent
with open(cols_file, "r", encoding="utf-8") as f:
doc = yaml.load(f, Loader=yaml.FullLoader)

Expand Down

0 comments on commit 9482817

Please sign in to comment.