Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
gsanand authored Jul 31, 2024
1 parent 951f7ee commit 7eae1be
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,10 @@
"rootname_B = \"j9irw5kaq\"\n",
"\n",
"# make a subdirectory for storing images\n",
"os.mkdir('images', exist_ok=True)\n",
"try:\n",
" os.mkdir(\"images\")\n",
"except FileExistsError:\n",
" pass\n",
"\n",
"shutil.copy(f\"residuals_{rootname_A}_flc.png\", f\"images/residuals_{rootname_A}_flc_rscale.png\")\n",
"shutil.copy(f\"residuals_{rootname_B}_flc.png\", f\"images/residuals_{rootname_B}_flc_rscale.png\")\n",
Expand Down

0 comments on commit 7eae1be

Please sign in to comment.