Skip to content

Commit

Permalink
removing unnecessary imports
Browse files Browse the repository at this point in the history
  • Loading branch information
bsunnquist committed Feb 28, 2024
1 parent 6740da6 commit a8a8311
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions jwql/website/apps/jwql/monitor_pages/monitor_bias_bokeh.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
monitor_template.input_parameters = ('NIRCam', 'NRCA1_FULL')
"""

from datetime import datetime, timedelta
from datetime import datetime
import os

from bokeh.embed import components, file_html
Expand All @@ -29,13 +29,10 @@
from bokeh.models.layouts import Tabs, TabPanel
from bokeh.plotting import figure, output_file, save
from bokeh.resources import CDN
from datetime import datetime, timedelta
from datetime import datetime
import numpy as np
import pandas as pd
from PIL import Image
from sqlalchemy import func

from jwql.database.database_interface import get_unique_values_per_column, NIRCamBiasStats, NIRISSBiasStats, NIRSpecBiasStats, session
from jwql.utils.constants import FULL_FRAME_APERTURES, JWST_INSTRUMENT_NAMES_MIXEDCASE, ON_GITHUB_ACTIONS, ON_READTHEDOCS
from jwql.utils.permissions import set_permissions
from jwql.utils.utils import read_png
Expand Down Expand Up @@ -277,7 +274,7 @@ def ensure_all_full_frame_apertures(self):
self.available_apertures.append(ap)

def modify_bokeh_saved_html(self):
"""Given an html string produced by Bokeh when saving bad pixel monitor plots,
"""Given an html string produced by Bokeh when saving bias monitor plots,
make tweaks such that the page follows the general JWQL page formatting.
"""
# Insert into our html template and save
Expand Down

0 comments on commit a8a8311

Please sign in to comment.