Skip to content

Commit

Permalink
Updating static path for files
Browse files Browse the repository at this point in the history
  • Loading branch information
mfixstsci committed Dec 15, 2023
1 parent 71ecba1 commit 25490ec
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
from bokeh.models import ColumnDataSource, HoverTool
# from bokeh.models import TabPanel, Tabs # bokeh >= 3.0
from bokeh.plotting import figure
from django.templatetags.static import static
import numpy as np

from jwql.database.database_interface import session
Expand Down Expand Up @@ -114,7 +115,7 @@ def __init__(self, instrument, aperture):

self.db = ReadnoiseMonitorData(self.instrument, self.aperture)

self.file_path = os.path.join(OUTPUTS_DIR, "readnoise_monitor", "data", self.ins_ap)
self.file_path = static(os.path.join("outputs", "readnoise_monitor", "data", self.ins_ap))

self.plot_readnoise_amplifers()
self.plot_readnoise_difference_image()
Expand Down

0 comments on commit 25490ec

Please sign in to comment.