From cbc00ed16d1183cd9ada309e5abf4be5be6e72d4 Mon Sep 17 00:00:00 2001 From: Felix Patzelt Date: Wed, 18 Oct 2017 18:47:22 +0200 Subject: [PATCH] Re-ran example notebook to clean spurious error message below one cell. --- ...rr_periodic_vs_aperiodic_vs_unbiased.ipynb | 49 +++++++------------ 1 file changed, 18 insertions(+), 31 deletions(-) diff --git a/examples/scorr_periodic_vs_aperiodic_vs_unbiased.ipynb b/examples/scorr_periodic_vs_aperiodic_vs_unbiased.ipynb index 1466cce..0400d1c 100644 --- a/examples/scorr_periodic_vs_aperiodic_vs_unbiased.ipynb +++ b/examples/scorr_periodic_vs_aperiodic_vs_unbiased.ipynb @@ -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\u001b[0m in \u001b[0;36m\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\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" ] @@ -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" ] } ], @@ -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" ] } ], @@ -1732,7 +1719,7 @@ { "data": { "text/plain": [ - "" + "" ] }, "execution_count": 7, @@ -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" ] } ], @@ -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" ] } ], @@ -2623,7 +2610,7 @@ { "data": { "text/plain": [ - "" + "" ] }, "execution_count": 11, @@ -3508,7 +3495,7 @@ { "data": { "text/plain": [ - "" + "" ] }, "execution_count": 15, @@ -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,