Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix notebooks tests #277

Merged
merged 3 commits into from
Mar 1, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,4 @@ repos:
- id: nbstripout
args:
- --keep-output
- --keep-count
77 changes: 39 additions & 38 deletions notebooks/00-intro.ipynb

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions notebooks/01a-cosmos_tutorial.ipynb

Large diffs are not rendered by default.

61 changes: 31 additions & 30 deletions notebooks/02a-multi-tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "code",
"execution_count": null,
"execution_count": 1,
"id": "b8bc0992",
"metadata": {},
"outputs": [],
Expand Down Expand Up @@ -59,7 +59,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 2,
"id": "8d4d179f",
"metadata": {},
"outputs": [],
Expand Down Expand Up @@ -88,14 +88,14 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 3,
"id": "a1605828",
"metadata": {},
"outputs": [
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "7bee5c19e4ac48b39579e350b88b3b85",
"model_id": "f52a8fba1d774211bdc0b5b013d91fba",
"version_major": 2,
"version_minor": 0
},
Expand All @@ -109,7 +109,7 @@
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "a158f9f727654144af268cdecd3028bd",
"model_id": "115712fb80b2495d8d57f1c90a77e28b",
"version_major": 2,
"version_minor": 0
},
Expand Down Expand Up @@ -190,7 +190,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 4,
"id": "dbfd0584",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -237,14 +237,14 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 5,
"id": "aaa0fcbf",
"metadata": {},
"outputs": [
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "2b512f5868f54bfb917b45d67acfeedf",
"model_id": "8c4fcd812b00419b8709731190dcf870",
"version_major": 2,
"version_minor": 0
},
Expand All @@ -258,7 +258,7 @@
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "c9745f60c16d49c1bf9cd63a0c249858",
"model_id": "b9c829689eb14155a045f83e04d84c53",
"version_major": 2,
"version_minor": 0
},
Expand All @@ -280,7 +280,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 6,
"id": "0066f9c9",
"metadata": {},
"outputs": [
Expand All @@ -296,11 +296,11 @@
" ra dec x_peak y_peak \n",
" float64 float64 float64 float64 \n",
"------------------ ------------------ ----------------- -----------------\n",
"1.2689503898312489 0.8727595765182957 78.59850532845122 76.22610524863133, <Table length=2>\n",
"1.2689481182730071 0.8727592757790912 78.59849172625998 76.22610344786479, <Table length=2>\n",
" ra dec x_peak y_peak \n",
" float64 float64 float64 float64 \n",
"------------------- -------------------- ----------------- -----------------\n",
" 0.9900339713896746 -0.8294529929483927 76.92834713426399 66.03321561110516\n",
" 0.9900339713896746 -0.8294529929483926 76.92834713426399 66.03321561110516\n",
"0.15779440559516283 -0.09995276446322497 71.94487668017453 70.401480452183, <Table length=1>\n",
" ra dec x_peak y_peak \n",
" float64 float64 float64 float64 \n",
Expand All @@ -309,16 +309,17 @@
" ra dec x_peak y_peak \n",
" float64 float64 float64 float64 \n",
"------------------ ------------------- ----------------- -----------------\n",
"1295999.2168508319 -0.7616319263200456 66.31048402214131 66.43932978216313]\n",
"1295999.2168508319 -0.7616319263200455 66.31048402214131 66.43932978216313]\n",
" x_peak y_peak \n",
"----------------- -----------------\n",
"74.31645829402682 67.65660036234712\n",
" 74.3164582944131 67.6566003619577\n",
"84.82041692360082 75.32457800092658\n",
" ... ...\n",
"83.47550225527765 66.91267631237706\n",
"76.33294326654887 76.41643297457439\n",
"77.36613193369699 65.54587426728634\n",
"71.72874699337302 70.5928725890325\n",
"83.47550225527763 66.91267631237706\n",
"65.88007830638566 66.34116097267089\n",
"73.71042002962857 67.88485750043738\n",
"Length = 8 rows\n"
"73.71042002980859 67.88485750023048\n"
]
}
],
Expand All @@ -339,7 +340,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 7,
"id": "6374c0e0",
"metadata": {
"tags": [
Expand All @@ -350,7 +351,7 @@
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "8168acd5876640f483d6aacfe914c242",
"model_id": "218e1ab4857f43258238fb45821a1964",
"version_major": 2,
"version_minor": 0
},
Expand Down Expand Up @@ -379,7 +380,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 8,
"id": "875bed15",
"metadata": {},
"outputs": [],
Expand All @@ -402,14 +403,14 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 9,
"id": "1d213d03",
"metadata": {},
"outputs": [
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "66fc51d1f202498d9f13e1ca9d7e2e3c",
"model_id": "16d829e025ee481fb6d0efd811c0f828",
"version_major": 2,
"version_minor": 0
},
Expand All @@ -427,7 +428,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 10,
"id": "cda15f69",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -494,7 +495,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 11,
"id": "55243a7e",
"metadata": {},
"outputs": [],
Expand Down Expand Up @@ -522,14 +523,14 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 12,
"id": "8b151e56",
"metadata": {},
"outputs": [
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "20d2c12167f245d5bcaa9bd655adac9b",
"model_id": "b84beee73eae42c29355f442f0edbd18",
"version_major": 2,
"version_minor": 0
},
Expand All @@ -547,7 +548,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 13,
"id": "9fb29875",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -613,14 +614,14 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 14,
"id": "1edac435",
"metadata": {},
"outputs": [
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "a9296eb602234170806f88ef262d95f1",
"model_id": "d07bb3f6e38c498cadda9e3a8a523367",
"version_major": 2,
"version_minor": 0
},
Expand Down
58 changes: 29 additions & 29 deletions notebooks/02b-custom-tutorial.ipynb

Large diffs are not rendered by default.