annotate output_report.py @ 6:117a042eb1b8 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 18d21cc8fc24236c514ffe31332bfa13cd08d1e9
author iuc
date Wed, 08 Nov 2023 12:57:32 +0000
parents 639d2031d998
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
1 """ Produces plots and a summary html 'headless' """
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
2 import logging
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
3 import os
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
4
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
5 import matplotlib
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
6 import matplotlib.pyplot as ppl
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
7 import spyboat.plotting as spyplot
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
8
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
9 ppl.switch_backend('Agg')
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
10 matplotlib.rcParams["text.usetex"] = False
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
11 logger = logging.getLogger(__name__)
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
12
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
13 # figure resolution
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
14 DPI = 250
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
15
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
16
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
17 def produce_snapshots(input_movie, results, frame, Wkwargs, img_path="."):
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
18 """
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
19 Takes the *input_movie* and the *results* dictionary
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
20 from spyboat.processing.run_parallel and produces phase,
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
21 period and amplitude snapshot png's.
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
22
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
23 For the period snapshot also the period range is needed,
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
24 hence the analysis dictionary 'Wkwargs' also gets passed.
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
25
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
26 The output files name pattern is:
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
27 [input, phase, period, amplitude]_frame{frame}.png
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
28 and the storage location in *img_path*.
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
29
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
30 These get picked up by 'create_html'
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
31 """
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
32
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
33 spyplot.input_snapshot(input_movie[frame])
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
34 fig = ppl.gcf()
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
35 out_path = os.path.join(img_path, f"input_frame{frame}.png")
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
36 fig.savefig(out_path, dpi=DPI)
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
37 ppl.close(fig)
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
38
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
39 spyplot.phase_snapshot(results["phase"][frame])
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
40 fig = ppl.gcf()
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
41 out_path = os.path.join(img_path, f"phase_frame{frame}.png")
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
42 fig.savefig(out_path, dpi=DPI)
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
43 ppl.close(fig)
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
44
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
45 spyplot.period_snapshot(
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
46 results["period"][frame], Wkwargs["Tmin"],
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
47 Wkwargs["Tmax"], time_unit="a.u."
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
48 )
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
49
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
50 fig = ppl.gcf()
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
51 out_path = os.path.join(img_path, f"period_frame{frame}.png")
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
52 fig.savefig(out_path, dpi=DPI)
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
53 ppl.close(fig)
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
54
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
55 spyplot.amplitude_snapshot(results["amplitude"][frame])
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
56 fig = ppl.gcf()
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
57 out_path = os.path.join(img_path, f"amplitude_frame{frame}.png")
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
58 fig.savefig(out_path, dpi=DPI)
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
59 ppl.close(fig)
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
60
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
61 logger.info(f"Produced 4 snapshots for frame {frame}..")
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
62
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
63
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
64 def produce_distr_plots(results, Wkwargs, img_path="."):
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
65 """
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
66 Output file names are:
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
67
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
68 period_distr.png, power_distr.png and phase_distr.png
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
69 """
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
70
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
71 spyplot.period_distr_dynamics(results["period"], Wkwargs)
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
72 fig = ppl.gcf()
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
73 out_path = os.path.join(img_path, "period_distr.png")
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
74 fig.savefig(out_path, dpi=DPI)
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
75
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
76 spyplot.power_distr_dynamics(results["power"], Wkwargs)
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
77 fig = ppl.gcf()
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
78 out_path = os.path.join(img_path, "power_distr.png")
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
79 fig.savefig(out_path, dpi=DPI)
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
80
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
81 spyplot.phase_coherence_dynamics(results["phase"], Wkwargs)
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
82 fig = ppl.gcf()
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
83 out_path = os.path.join(img_path, "phase_distr.png")
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
84 fig.savefig(out_path, dpi=DPI)
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
85
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
86 logger.info("Produced 3 distribution plots..")
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
87
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
88
1
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
89 def create_html(frame_nums, par_str, html_fname="OutputReport.html"):
0
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
90 """
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
91 The html generated assumes the respective png's
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
92 have been created with 'produce_snapshots' and 'produce_distr_plots'
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
93 and can be found at the cwd (that's how Galaxy works..)
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
94 """
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
95
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
96 # -- create a gallery for every frame in frame_nums --
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
97
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
98 galleries = ""
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
99 for frame_num in frame_nums:
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
100 new_gal = f"""
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
101 <div class="FrameSlides">
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
102 <h3 style="text-align:center; color=#363333">
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
103 Frame Nr. {frame_num} </h3>
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
104
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
105 <div class="snapshot_gallery">
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
106
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
107 <figure class=”snapshot_gallery__item
1
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
108 snapshot_gallery__item--1" style="margin: 0 0">
0
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
109 <img src="input_frame{frame_num}.png" alt="The Input"
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
110 class="snapshot_gallery__img">
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
111 </figure>
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
112
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
113 <figure class=”snapshot_gallery__item
1
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
114 snapshot_gallery__item--2" style="margin: 0 0">
0
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
115 <img src="phase_frame{frame_num}.png" alt="Phase"
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
116 class="snapshot_gallery__img">
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
117 </figure>
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
118
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
119 <figure class=”snapshot_gallery__item
1
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
120 snapshot_gallery__item--3" style="margin: 0 0">
0
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
121 <img src="period_frame{frame_num}.png"
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
122 alt="Period" class="snapshot_gallery__img">
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
123 </figure>
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
124
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
125 <figure class=”snapshot_gallery__item
1
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
126 snapshot_gallery__item--4" style="margin: 0 0">
0
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
127 <img src="amplitude_frame{frame_num}.png"
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
128 alt="Amplitude" class="snapshot_gallery__img">
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
129 </figure>
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
130 </div>
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
131 </div>
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
132 """
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
133 galleries += new_gal
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
134
1
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
135 parameter_cells = ''
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
136 for line in par_str.split('\n'):
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
137 # last str is empty..
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
138 if not line:
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
139 break
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
140 par_name, par_val = line.split('->')
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
141 parameter_cells += f'''
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
142 <tr>
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
143 <td>{par_name}</td>
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
144 <td>{par_val}</td>
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
145 </tr>'''
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
146
0
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
147 html_string = f"""
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
148 <html>
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
149 <!-- this file got automatically created by 'output_report.py' -->
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
150 <title>SpyBOAT Output Report</title>
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
151 <head>
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
152 <!-- that doesn't work with galaxy.. -->
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
153 <!--link rel="stylesheet" href="styles.css"-->
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
154 <style type="text/css">
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
155 body{{ margin:10 100; background:whitesmoke; }}
1
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
156 p{{
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
157 text-align: center;
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
158 margin-top: 0.05cm;
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
159 margin-bottom: .05cm;
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
160 color:#2c2e2e;
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
161 }}
0
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
162 .center{{
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
163 text-align: center;
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
164 display: block;
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
165 margin-left: auto;
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
166 margin-right: auto;
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
167 width: 100%;}}
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
168
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
169 /* matplotlib output at 1600x1200 */
1
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
170 .snapshot_gallery {{
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
171 margin: 0 0;
0
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
172 text-align: center;
1
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
173 display: grid;
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
174 grid-template-columns: repeat(2,1fr);
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
175 grid-template-rows: repeat(2,27vw);
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
176 grid-gap: 5px;
0
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
177 }}
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
178
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
179 .snapshot_gallery__img {{
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
180 width: 100%;
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
181 height: 100%;
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
182 object-fit: contain;
1
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
183 margin-top: 5px;
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
184 margin-bottom: 15px;
0
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
185 }}
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
186 .subheader{{
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
187 text-align:center;
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
188 font-size: 160%;
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
189 color:#363333;}}
1
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
190 .centerimg{{
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
191 text-align: center;
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
192 width: 65%;
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
193 max-width: 400px;
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
194 display: block;
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
195 padding: 10px;
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
196 margin-left: auto;
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
197 margin-right: auto;
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
198 }}
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
199
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
200 .div_distr{{
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
201 text-align: center;
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
202 border-radius: 25px;
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
203 margin-top: 1cm;
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
204 margin: auto;
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
205 margin-bottom: 0.5cm;
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
206 background-color: #cce1e3;
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
207 max-width: 550px;
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
208 }}
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
209
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
210 .partable{{
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
211 width: 70%;
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
212 margin-left: auto;
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
213 margin-right: auto;
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
214 }}
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
215
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
216 tr, td{{
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
217 color:#2c2e2e;
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
218 font-size: 110%;
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
219 }}
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
220
0
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
221 </style>
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
222 </head>
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
223 <body>
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
224 <h1 style="text-align:center; color:#363333">SpyBOAT Results Report</h1>
1
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
225 <hr style="width:70%">
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
226
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
227 <h1 class="subheader"> Spatial Summary Statistics </h1>
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
228 <div class="div_distr">
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
229 <img src="period_distr.png" alt="Period"
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
230 class="centerimg">
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
231 <p> Median and quartiles of the estimated periods for each frame </p>
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
232 </div>
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
233
0
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
234
1
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
235 <div class="div_distr">
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
236 <img src="power_distr.png" alt="Period"
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
237 class="centerimg">
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
238 <p> Median and quartiles of the ridge wavelet power for each frame </p>
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
239 </div>
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
240 <div class="div_distr">
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
241 <img src="phase_distr.png" alt="Period"
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
242 class="centerimg">
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
243 <p> Kuramoto order parameter for the phases estimated for each frame </p>
0
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
244
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
245 </div>
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
246
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
247 <h1 class="subheader"> Output Movie Snapshots </h1>
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
248
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
249 <!-- trigger the javascript at the end--->
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
250 <div class="center">
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
251 <button class="w3-button" onclick="plusDivs(-1)">&#10094; Prev</button>
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
252 <button class="w3-button" onclick="plusDivs(1)">Next &#10095;</button>
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
253 </div>
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
254
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
255 <!-- defines all elements of the "FrameSlides" class --->
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
256 {galleries}
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
257 </div>
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
258
1
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
259 <h1 class="subheader"> Parameters </h1>
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
260 <div class="div_distr">
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
261 <table border = "1" class="partable">
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
262 <tr>
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
263 <th>Name</th>
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
264 <th>Value</th>
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
265 </tr>
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
266 {parameter_cells}
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
267 </table>
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
268 </div>
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
269
0
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
270 <!-- javascript with escaped '{{'--->
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
271 <script>
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
272 var slideIndex = 1;
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
273 showDivs(slideIndex);
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
274
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
275 function plusDivs(n) {{
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
276 showDivs(slideIndex += n);
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
277 }}
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
278
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
279 function showDivs(n) {{
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
280 var i;
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
281 var x = document.getElementsByClassName("FrameSlides");
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
282 if (n > x.length) {{slideIndex = 1}}
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
283 if (n < 1) {{slideIndex = x.length}} ;
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
284 for (i = 0; i < x.length; i++) {{
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
285 x[i].style.display = "none";
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
286 }}
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
287 x[slideIndex-1].style.display = "block";
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
288 }}
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
289 </script>
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
290 </body>
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
291 </html>
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
292 """
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
293
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
294 with open(html_fname, "w") as OUT:
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
295 OUT.write(html_string)
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
296
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
297 logger.info("Created html report")
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
298 return html_string
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
299
76733d05d8ef "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 5c60a414c785246371beac23ce52d8bbab3602d1"
iuc
parents:
diff changeset
300 # for local testing
1
639d2031d998 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/spyboat commit 88e9d9a220d160f55e0472719bb463143a4eefa5"
iuc
parents: 0
diff changeset
301 # create_html([0,20], 'par1 -> val1\n verylongpar2 -> val2')