Commit 76de53765886723b2e45ace9e4bf428883b9f1a9

Authored by Josh Cardenzana
1 parent df630617

Fix help text in csspec (#2938)

Update 'test/data/spectrum.fits' to use the new column names
test/data/spectrum.fits 100755 → 100644
No preview for this file type
test/test_csspec.py
@@ -329,7 +329,7 @@ class Test(test): @@ -329,7 +329,7 @@ class Test(test):
329 if lbins > 0: 329 if lbins > 0:
330 # Should be 13 columns 330 # Should be 13 columns
331 self.test_value(spectrum.ncols(), 13, 331 self.test_value(spectrum.ncols(), 13,
332 - 'Check for 8 columns in spectrum') 332 + 'Check for 13 columns in spectrum')
333 self.test_value(flux_keys[0], 'likelihood', 333 self.test_value(flux_keys[0], 'likelihood',
334 'Check that \'SED_TYPE\' card is \'likelihood\'') 334 'Check that \'SED_TYPE\' card is \'likelihood\'')
335 # Make sure the profile has the appropriate entries 335 # Make sure the profile has the appropriate entries
@@ -340,7 +340,7 @@ class Test(test): @@ -340,7 +340,7 @@ class Test(test):
340 else: 340 else:
341 # Should be 10 columns 341 # Should be 10 columns
342 self.test_value(spectrum.ncols(), 10, 342 self.test_value(spectrum.ncols(), 10,
343 - 'Check for 8 columns in spectrum') 343 + 'Check for 10 columns in spectrum')
344 self.test_value(flux_keys[0], 'norm', 344 self.test_value(flux_keys[0], 'norm',
345 'Check that \'SED_TYPE\' card is \'norm\'') 345 'Check that \'SED_TYPE\' card is \'norm\'')
346 346