Skip to content

Commit

Permalink
Update deprecated copy method
Browse files Browse the repository at this point in the history
  • Loading branch information
nanglo123 committed Sep 24, 2024
1 parent f6341e0 commit 3a0b723
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions notebooks/hackathon_2024.02/scenario1/epi_scenario1.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -799,7 +799,7 @@
"# Apply country-specific data to model\n",
"for country, country_data in data.items():\n",
" # Create a copy of the model for this country\n",
" seird_age_strat_country = seird_base_age_strat.copy(deep=True)\n",
" seird_age_strat_country = seird_base_age_strat.model_copy(deep=True)\n",
" \n",
" pop_df = country_data['population']\n",
" contact_matrix_df = country_data['contact_matrix']\n",
Expand Down Expand Up @@ -1025,7 +1025,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.4"
"version": "3.10.12"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 3a0b723

Please sign in to comment.