Skip to content

Commit

Permalink
updated to lsst kernel and add consdb import check
Browse files Browse the repository at this point in the history
  • Loading branch information
Vebop committed Oct 2, 2024
1 parent f9bd95c commit 8af87f6
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions notebooks_tsqr/NightLog.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,16 @@
"\n",
" lrversion = lsst.ts.logging_and_reporting.version.__version__\n",
"except:\n",
" lrversion = \"LIVE\""
" lrversion = \"LIVE\"\n",
"\n",
"try:\n",
" from lsst.summit.utils import ConsDbClient\n",
"\n",
" have_consdb = True\n",
"except:\n",
" have_consdb = False\n",
"\n",
"print(f\"{have_consdb = }\")"
]
},
{
Expand Down Expand Up @@ -411,9 +420,9 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"display_name": "LSST",
"language": "python",
"name": "python3"
"name": "lsst"
},
"language_info": {
"codemirror_mode": {
Expand Down

0 comments on commit 8af87f6

Please sign in to comment.