diff --git a/notebooks/MosvizExample.ipynb b/notebooks/MosvizExample.ipynb index 0bae41ff26..49b992a76b 100644 --- a/notebooks/MosvizExample.ipynb +++ b/notebooks/MosvizExample.ipynb @@ -135,9 +135,7 @@ "# If images are available in a cutouts directory, uncomment the following lines.\n", "# Please make sure the number of cutouts matches the number of x1d and s2d files.\n", "\n", - "# images = []\n", - "# for file_path in glob.iglob(str(level3_path / 'cutouts' / '*')):\n", - "# images.append(file_path)" + "# images = [file_path for file_path in glob.iglob(str(level3_path / 'cutouts' / '*'))]\n" ] }, {