Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Marcella Wijngaarden
bayeswave
Commits
530b0cbc
Commit
530b0cbc
authored
Jan 20, 2020
by
megmillhouse
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix html generation in megaplot that showed wrongmodel spectrograms
parent
9329a15f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
BayesWaveUtils/scripts/megaplot.py
BayesWaveUtils/scripts/megaplot.py
+2
-2
No files found.
BayesWaveUtils/scripts/megaplot.py
View file @
530b0cbc
...
...
@@ -1324,10 +1324,10 @@ def make_model_page(htmlDir, plotsDir, model, ifoList, ifoNames):
subpage
.
write
(
'<br/>Other Q resolutions: <a id="displayFull'
+
model
+
'spect
\'
" href="javascript:toggle(
\'
divFull'
+
model
+
'spect
\'
,
\'
displayFull'
+
model
+
'spect
\'
);">show</a>
\n
'
)
subpage
.
write
(
' <div id="divFull'
+
model
+
'spect'
+
'" style="display: none">
\n
'
)
for
ifo
in
ifoList
:
plotsrc
=
'./'
+
plotsDir
+
'{0}_spectrogram_Q4_{1}.png'
.
format
(
mod
,
ifoNames
[
int
(
ifo
)])
plotsrc
=
'./'
+
plotsDir
+
'{0}_spectrogram_Q4_{1}.png'
.
format
(
mod
el
,
ifoNames
[
int
(
ifo
)])
subpage
.
write
(
' <a href="'
+
plotsrc
+
'"><img src="'
+
plotsrc
+
'" alt="'
+
plotsrc
+
'" width=500></a>
\n
'
)
for
ifo
in
ifoList
:
plotsrc
=
'./'
+
plotsDir
+
'{0}_spectrogram_Q16_{1}.png'
.
format
(
mod
,
ifoNames
[
int
(
ifo
)])
plotsrc
=
'./'
+
plotsDir
+
'{0}_spectrogram_Q16_{1}.png'
.
format
(
mod
el
,
ifoNames
[
int
(
ifo
)])
subpage
.
write
(
' <a href="'
+
plotsrc
+
'"><img src="'
+
plotsrc
+
'" alt="'
+
plotsrc
+
'" width=500></a>
\n
'
)
subpage
.
write
(
"</div>
\n
"
)
subpage
.
write
(
' <br/>
\n
'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment