Skip to content

Commit

Permalink
Merge pull request #34 from lsst/tickets/PREOPS-3851
Browse files Browse the repository at this point in the history
tickets/PREOPS-3851: Update notebook for recent changes
  • Loading branch information
ehneilsen authored Oct 9, 2023
2 parents 6ee1b87 + 89192c2 commit 9635bc3
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions notebooks/prenight.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,11 @@
" \"ignore\",\n",
" module=\"rubin_sim\",\n",
" message=\"All-NaN slice encountered\",\n",
")\n",
"warnings.filterwarnings(\n",
" \"ignore\",\n",
" module=\"rubin_sim.scheduler.utils\",\n",
" message=\"invalid value encountered in cast\",\n",
")"
]
},
Expand Down Expand Up @@ -626,13 +631,13 @@
},
"outputs": [],
"source": [
"pn_app, prenight = schedview.app.prenight.prenight_app(\n",
"prenight = schedview.app.prenight.Prenight()\n",
"pn_app = prenight.make_app(\n",
" night_date,\n",
" opsim_db=opsim_output_fname,\n",
" scheduler=scheduler_fname,\n",
" rewards=rewards_fname,\n",
" custom_hvplot_tab_settings_file=custom_tabs_fname,\n",
" return_app=True,\n",
")"
]
},
Expand Down

0 comments on commit 9635bc3

Please sign in to comment.