Skip to content
Snippets Groups Projects
  1. Nov 05, 2018
  2. Nov 02, 2018
  3. Oct 12, 2018
  4. Oct 10, 2018
  5. Aug 16, 2018
  6. Aug 14, 2018
  7. Aug 13, 2018
  8. Aug 02, 2018
  9. Jul 24, 2018
  10. Jul 17, 2018
  11. Jun 20, 2018
  12. Jun 15, 2018
  13. Jun 11, 2018
    • Thomas Callister's avatar
    • Thomas Callister's avatar
      Minor changes megaplot.py to fix errors associated with string handling. · 915536c6
      Thomas Callister authored
      ln 167: Added rstrip() to `cmdline = lines[8].rstrip().split(' ')`
      Previously, an invisible \n character was read in as part of the command-line string.
      When parsing the command line, this newline character was carried along as part of the Bayeswave arguments.
      For example, rather than reading ifo 1 to be 'L1', ifo 1 was defined as the string 'L1\n'.
      The rstrip() command removes all trailing whitespace (including '\n') from the command line before
      it is parsed into separate arguments.
      
      ln 855:
      plt.title('Spectrogram of median {0} waveform in {1}, Q={2}'.format(model.replace('_','\_'),ifoNames[int(ifo)], Q))
      When the variable "model" contained an underscore, matplotlib attempted to interpret as a latex subscript and threw an error.
      The substition '_' --> '\_' ensures that any '_' characters are interpreted as string underscores,
      not subscripts.
      915536c6
  14. Jun 08, 2018
  15. May 30, 2018
Loading