Skip to content

Commit 5b3b2ee

Browse files
committed
Updating path for static to point to
1 parent 4b15feb commit 5b3b2ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jwql/website/apps/jwql/monitor_views.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def background_monitor(request):
7272

7373
# Get the background trending filters to display
7474
server_name = get_config()['outputs'].split("data/", 1)[1]
75-
output_dir_bkg = static(os.path.join("outputs", server_name, "claw_monitor", "backgrounds"))
75+
output_dir_bkg = static(os.path.join("data", server_name, "claw_monitor", "backgrounds"))
7676
fltrs = ['F070W', 'F090W', 'F115W', 'F150W', 'F200W', 'F277W', 'F356W', 'F444W']
7777
bkg_plots = [os.path.join(output_dir_bkg, '{}_backgrounds.png'.format(fltr)) for fltr in fltrs]
7878

@@ -160,7 +160,7 @@ def claw_monitor(request):
160160
recent_files = list(pd.unique(df['skyflat_filename'][df['expstart_mjd'] > Time.now().mjd - 10]))
161161

162162
server_name = get_config()['outputs'].split("data/", 1)[1]
163-
output_dir_claws = static(os.path.join("outputs", server_name, "claw_monitor", "claw_stacks"))
163+
output_dir_claws = static(os.path.join("data", server_name, "claw_monitor", "claw_stacks"))
164164

165165
claw_stacks = [os.path.join(output_dir_claws, filename) for filename in recent_files]
166166

0 commit comments

Comments
 (0)