Skip to content

Commit 5a7650c

Browse files
committed
Added labs to the profile replacement script
1 parent 13f0187 commit 5a7650c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

misc/tools/replace_profiles.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,11 @@ def _main():
3030
'..'))
3131
guide_dir = os.path.join(root_dir, "guide")
3232
samples_dir = os.path.join(root_dir, "samples")
33+
labs_dir = os.path.join(root_dir, "labs")
3334
nb_file_paths = \
3435
glob.glob(os.path.join(guide_dir, "**", "*.ipynb"), recursive=True) + \
35-
glob.glob(os.path.join(samples_dir, "**", "*.ipynb"), recursive=True)
36+
glob.glob(os.path.join(samples_dir, "**", "*.ipynb"), recursive=True) + \
37+
glob.glob(os.path.join(labs_dir, "**", "*.ipynb"), recursive=True)
3638

3739
for nb_file_path in nb_file_paths:
3840
print(f"Replacing profiles in {nb_file_path}")

0 commit comments

Comments
 (0)