Skip to content

Commit

Permalink
tag4
Browse files Browse the repository at this point in the history
  • Loading branch information
Athanaseus committed Feb 26, 2025
1 parent 0356797 commit 9c8e95d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion rfinder/rfinder_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ def write_html_fullreport(cfg_par):

video_name4 = cfg_par['general']['moviedir']+'TimeChunks_1D_noise_factor.gif'
if os.path.exists(video_name4):
video_encoded4 = base64.b64encode(open(video_name3, "rb").read())
video_encoded4 = base64.b64encode(open(video_name4, "rb").read())

if cfg_par['plots']['plot_details']['movies']['movies_in_report'] == True:
template = env.get_template('full_template.html')
Expand Down Expand Up @@ -393,6 +393,12 @@ def write_html_timereport(cfg_par):
else:
video_encoded3 = None

video_name4 = cfg_par['general']['moviedir']+'TimeChunks_1D_noise_factor.gif'
if os.path.exists(video_name4):
video_encoded4 = base64.b64encode(open(video_name4, "rb").read())
else:
video_encoded4 = None

if cfg_par['plots']['plot_details']['movies']['movies_in_report'] == True:

with open(cfg_par['general']['rfidir']+'time_report.html', "w") as f:
Expand Down

0 comments on commit 9c8e95d

Please sign in to comment.