Skip to content

Commit

Permalink
Only Run replace unique id with yaml files
Browse files Browse the repository at this point in the history
  • Loading branch information
tsuchiyama-araya committed Dec 17, 2024
1 parent ae48fb2 commit 24831d2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions studio/app/common/core/experiment/experiment_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,9 +203,7 @@ def __replace_unique_id_in_files(
file_path = os.path.join(root, file_name)

# Only process text files
if not file_name.endswith(
(".txt", ".yml", ".yaml", ".json", ".cfg", ".ini")
):
if not file_name.endswith((".yaml")):
continue

# Replace old unique_id with new_unique_id
Expand Down

0 comments on commit 24831d2

Please sign in to comment.