Very small change in a string

polconvert
Benito Marcote 4 years ago
parent 8434c8e069
commit 2538876876
  1. 2
      comment_tasav_file.py

@ -251,7 +251,7 @@ def parse_setup(exp, type_exp, freq, datarate, number_ifs, bandwidth, pols):
name_pols = {1: 'single', 2: 'dual', 4: 'full'}
s = '{}. {}-band experiment observed on {}.\n'.format(exp.upper(), band, obsdate.strftime('%d %B %Y'))
s += 'This is the {} pass data.<br>\n'.format('continuum' if type_exp == 'cont' else 'spectral line')
s += 'This is a {} pass data.<br>\n'.format('continuum' if type_exp == 'cont' else 'spectral line')
s += 'The data rate was {} Mbps ({} x {} MHz subbands, {} polarization, two-bit sampling)<br>\n'.format(
datarate, number_ifs, bandwidth, name_pols[pols])

Loading…
Cancel
Save