Skip to content
Snippets Groups Projects
Commit b1d9a23d authored by Kent Blackburn's avatar Kent Blackburn
Browse files

Sophia's Patch to webpage.py to sort plots! *Ticket Num: 5529 in gstlal/gstlal-inspiral*

parent 7caeb51b
No related branches found
No related tags found
No related merge requests found
......@@ -51,7 +51,7 @@ class image_glob(elem):
cap = elem("caption", ["Table: " + caption], """ style="caption-side: bottom; text-align: left; font-size: 12px; font-style: italic; padding: 15px;" """)
td = elem("td", [])
tr = elem("tr", [td])
for img in glob.glob(globpat):
for img in sorted(glob.glob(globpat)):
td += [elem("a", [elem("img", [], """ src="%s" width=500 """ % img)], """ class="fancybox" href="%s" rel="group" """ % img)]
self.content = [cap, tr]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment