Skip to content

Commit

Permalink
except RuntimeError
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherMayes committed Jun 28, 2024
1 parent 9115cfe commit 6f88df9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/examples/fodo.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@
" tao.cmd(\"set global lattice_calc_on = T\")\n",
" d[\"good\"] = True\n",
" add_info(d)\n",
" except:\n",
" except RuntimeError:\n",
" d[\"good\"] = False\n",
"\n",
" return d\n",
Expand Down Expand Up @@ -375,7 +375,7 @@
" tao.cmd(\"set global lattice_calc_on = T\")\n",
" d[\"good\"] = True\n",
" add_info(d)\n",
" except:\n",
" except RuntimeError:\n",
" d[\"good\"] = False\n",
"\n",
" return d\n",
Expand Down Expand Up @@ -440,8 +440,8 @@
"name": "stdout",
"output_type": "stream",
"text": [
"CPU times: user 4.34 s, sys: 1.26 s, total: 5.6 s\n",
"Wall time: 5.83 s\n"
"CPU times: user 4.28 s, sys: 931 ms, total: 5.21 s\n",
"Wall time: 5.44 s\n"
]
}
],
Expand Down Expand Up @@ -1054,7 +1054,7 @@
{
"data": {
"text/plain": [
"<matplotlib.legend.Legend at 0x177eab5f0>"
"<matplotlib.legend.Legend at 0x156de98e0>"
]
},
"execution_count": 33,
Expand Down

0 comments on commit 6f88df9

Please sign in to comment.