Skip to content

Commit

Permalink
Update cols.yaml from scratch
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 b69d673 commit 6af1bd3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/end_to_end/models/model_owner.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,8 +233,7 @@ def register_collaborators(self, plan_path, num_collaborators=None):
with open(cols_file, "r", encoding="utf-8") as f:
doc = yaml.load(f, Loader=yaml.FullLoader)

if "collaborators" not in doc.keys() or not doc["collaborators"]:
doc["collaborators"] = [] # Create empty list
doc["collaborators"] = [] # Create empty list

for i in range(num_collaborators):
col_name = "collaborator" + str(i+1)
Expand Down

0 comments on commit 6af1bd3

Please sign in to comment.