Skip to content

Commit

Permalink
Re-ran example notebook to clean spurious error message below one cell.
Browse files Browse the repository at this point in the history
  • Loading branch information
felixpatzelt committed Oct 18, 2017
1 parent 61774ff commit cbc00ed
Showing 1 changed file with 18 additions and 31 deletions.
49 changes: 18 additions & 31 deletions examples/scorr_periodic_vs_aperiodic_vs_unbiased.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -28,22 +28,9 @@
},
{
"cell_type": "code",
"execution_count": 3,
"execution_count": 2,
"metadata": {},
"outputs": [
{
"ename": "ModuleNotFoundError",
"evalue": "No module named 'corr2'",
"output_type": "error",
"traceback": [
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
"\u001b[0;31mModuleNotFoundError\u001b[0m Traceback (most recent call last)",
"\u001b[0;32m<ipython-input-3-5f737367bdef>\u001b[0m in \u001b[0;36m<module>\u001b[0;34m()\u001b[0m\n\u001b[0;32m----> 1\u001b[0;31m \u001b[0;32mimport\u001b[0m \u001b[0mscorr\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mcorr2\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m",
"\u001b[0;32m~/Documents/uni/papers/impact_report/demo_code/packaged/testenv3/lib/python3.6/site-packages/scorr/__init__.py\u001b[0m in \u001b[0;36m<module>\u001b[0;34m()\u001b[0m\n\u001b[0;32m----> 1\u001b[0;31m \u001b[0;32mfrom\u001b[0m \u001b[0mcorr2\u001b[0m \u001b[0;32mimport\u001b[0m \u001b[0;34m*\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 2\u001b[0m \u001b[0;32mfrom\u001b[0m \u001b[0mcorr3\u001b[0m \u001b[0;32mimport\u001b[0m \u001b[0;34m*\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 3\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 4\u001b[0m \u001b[0;32mdef\u001b[0m \u001b[0m__reload_submodules__\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 5\u001b[0m \u001b[0;32mimport\u001b[0m \u001b[0mhelpers\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
"\u001b[0;31mModuleNotFoundError\u001b[0m: No module named 'corr2'"
]
}
],
"outputs": [],
"source": [
"import scorr"
]
Expand Down Expand Up @@ -898,8 +885,8 @@
"name": "stdout",
"output_type": "stream",
"text": [
"CPU times: user 50.9 ms, sys: 15.6 ms, total: 66.6 ms\n",
"Wall time: 66.6 ms\n"
"CPU times: user 42.8 ms, sys: 14.3 ms, total: 57.1 ms\n",
"Wall time: 67.1 ms\n"
]
}
],
Expand All @@ -919,8 +906,8 @@
"name": "stdout",
"output_type": "stream",
"text": [
"CPU times: user 5.26 s, sys: 43.8 ms, total: 5.31 s\n",
"Wall time: 5.35 s\n"
"CPU times: user 4.99 s, sys: 7.09 ms, total: 5 s\n",
"Wall time: 5 s\n"
]
}
],
Expand Down Expand Up @@ -1732,7 +1719,7 @@
{
"data": {
"text/plain": [
"<matplotlib.text.Text at 0x10b40bc10>"
"<matplotlib.text.Text at 0x10f744450>"
]
},
"execution_count": 7,
Expand Down Expand Up @@ -1785,8 +1772,8 @@
"name": "stdout",
"output_type": "stream",
"text": [
"CPU times: user 71.3 ms, sys: 1.09 ms, total: 72.4 ms\n",
"Wall time: 74.6 ms\n"
"CPU times: user 53.4 ms, sys: 2.05 ms, total: 55.5 ms\n",
"Wall time: 54 ms\n"
]
}
],
Expand All @@ -1813,8 +1800,8 @@
"output_type": "stream",
"text": [
"1000\n",
"CPU times: user 1.32 ms, sys: 981 µs, total: 2.3 ms\n",
"Wall time: 1.47 ms\n"
"CPU times: user 1.39 ms, sys: 1.09 ms, total: 2.48 ms\n",
"Wall time: 1.51 ms\n"
]
}
],
Expand Down Expand Up @@ -2623,7 +2610,7 @@
{
"data": {
"text/plain": [
"<matplotlib.text.Text at 0x10db5b390>"
"<matplotlib.text.Text at 0x10fc82810>"
]
},
"execution_count": 11,
Expand Down Expand Up @@ -3508,7 +3495,7 @@
{
"data": {
"text/plain": [
"<matplotlib.text.Text at 0x10dbf2250>"
"<matplotlib.text.Text at 0x10fcb0d10>"
]
},
"execution_count": 15,
Expand Down Expand Up @@ -3537,21 +3524,21 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"display_name": "Python 2",
"language": "python",
"name": "python3"
"name": "python2"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
"version": 2
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.2"
"pygments_lexer": "ipython2",
"version": "2.7.14"
}
},
"nbformat": 4,
Expand Down

0 comments on commit cbc00ed

Please sign in to comment.