Skip to content

Commit

Permalink
Replaced shutil copy with copy2
Browse files Browse the repository at this point in the history
  • Loading branch information
svpino committed Mar 28, 2024
1 parent 6bbe5f8 commit 64ad304
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions program/cohort.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2439,7 +2439,7 @@
},
{
"cell_type": "code",
"execution_count": 267,
"execution_count": 340,
"id": "57c2915c",
"metadata": {},
"outputs": [
Expand All @@ -2449,7 +2449,7 @@
"PosixPath('code/containers/training/train.py')"
]
},
"execution_count": 267,
"execution_count": 340,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -2458,7 +2458,7 @@
"import shutil\n",
"\n",
"(CODE_FOLDER / \"containers\" / \"training\").mkdir(parents=True, exist_ok=True)\n",
"shutil.copy(\n",
"shutil.copy2(\n",
" CODE_FOLDER / \"training\" / \"script.py\",\n",
" CODE_FOLDER / \"containers\" / \"training\" / \"train.py\",\n",
")"
Expand Down

0 comments on commit 64ad304

Please sign in to comment.