Skip to content
This repository was archived by the owner on Apr 28, 2025. It is now read-only.

Commit 21ccba3

Browse files
committed
update to w_2021_40 and warnings
1 parent 9b5f277 commit 21ccba3

1 file changed

Lines changed: 14 additions & 3 deletions

File tree

06_Comparing_Object_and_Truth_Tables.ipynb

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"<img align=\"left\" src = https://project.lsst.org/sites/default/files/Rubin-O-Logo_0.png width=250 style=\"padding: 10px\"> \n",
99
"<br>\n",
1010
"<b>Comparing Object and Truth Tables</b> <br>\n",
11-
"Last verified to run on 2021-08-16 with LSST Science Pipelines release w_2021_33 <br>\n",
11+
"Last verified to run on 2021-10-12 with LSST Science Pipelines release w_2021_40 <br>\n",
1212
"Contact author: Jeff Carlin <br>\n",
1313
"Target audience: All DP0 delegates. <br>\n",
1414
"Container Size: medium <br>\n",
@@ -74,6 +74,18 @@
7474
"import matplotlib.pyplot as plt # imports matplotlib.pyplot as plt"
7575
]
7676
},
77+
{
78+
"cell_type": "code",
79+
"execution_count": null,
80+
"id": "762a6ccc-b007-476b-8ac6-f15a8c374693",
81+
"metadata": {},
82+
"outputs": [],
83+
"source": [
84+
"# filter some unit warnings\n",
85+
"import warnings\n",
86+
"warnings.simplefilter(\"ignore\", category='UnitsWarning')"
87+
]
88+
},
7789
{
7890
"cell_type": "markdown",
7991
"id": "379c34ed",
@@ -92,8 +104,7 @@
92104
"# Set up some options, and import a couple more tools we will need:\n",
93105
"pandas.set_option('display.max_rows', 200)\n",
94106
"\n",
95-
"# from rubin_jupyter_utils.lab.notebook import get_catalog, retrieve_query\n",
96-
"from rubin_jupyter_utils.lab.notebook import get_tap_service\n",
107+
"from lsst.rsp import get_tap_service, retrieve_query\n",
97108
"\n",
98109
"service = get_tap_service()"
99110
]

0 commit comments

Comments
 (0)