Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
petrelharp committed Jul 6, 2024
1 parent f957138 commit 0d2aba9
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion intro_stdpopsim_SMBE2024/Intro_stdpopsim.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,21 @@
"ts = engine.simulate(model, contig, samples, slim_scaling_factor=100, seed=1)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"We're getting a lot of warnings. Don't ignore these!\n",
"At least, don't ignore them until you figure out why they are happening.\n",
"Some of these are because we're using approximations to make the simulations go extra fast;\n",
"the warnings are telling us that the approximations are approximate - so: beware!\n",
"If you're just using these for development (like us) then no worries.\n",
"But, if you use them for production, make sure to evaluate whether the approximations\n",
"are affecting your results!\n",
"\n",
"This will turn off these warnings below:"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand Down Expand Up @@ -1378,7 +1393,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.14"
"version": "3.12.4"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 0d2aba9

Please sign in to comment.