Skip to content

Commit

Permalink
Merge pull request #307 from kboone/fix_bandpass_docs
Browse files Browse the repository at this point in the history
Fix bandpass docs page
  • Loading branch information
kboone committed Aug 23, 2021
2 parents 5a68563 + f55ddc8 commit 863ddbd
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/_helpers/bandpass_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
ASCII_LETTERS = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'

bandpass_meta = _BANDPASSES.get_loaders_metadata()
table_delim = " ".join([15 * '=', 120 * '=', 24 * '=', 8 * '=', 12 * '='])
table_colnames = ("{0:15} {1:120} {2:24} {3:8} {4:12}"
.format('Name', 'Description', 'Reference', 'Data URL',
'Retrieved'))
table_delim = " ".join([15 * '=', 120 * '=', 8 * '=', 20 * '=', 24 * '='])
table_colnames = ("{0:15} {1:120} {2:8} {3:20} {4:24}"
.format('Name', 'Description', 'Data URL',
'Retrieved', 'Reference'))
urlnums = {}


Expand Down Expand Up @@ -50,8 +50,8 @@ def bandpass_table(setname):
if 'retrieved' in m:
retrieved = m['retrieved']

lines.append("{0!r:15} {1:120} {2:24} {3:8} {4:12}".format(
m['name'], m['description'], reflink, urllink, retrieved))
lines.append("{0!r:15} {1:120} {2:8} {3:20} {4:24}".format(
m['name'], m['description'], urllink, retrieved, reflink))

lines.append(table_delim)
lines.append("")
Expand Down

0 comments on commit 863ddbd

Please sign in to comment.