Skip to content
Snippets Groups Projects
Commit f8fa2aa7 authored by jay's avatar jay
Browse files

Updates tests for sp

parent 03a7e912
No related branches found
No related tags found
No related merge requests found
......@@ -18,8 +18,7 @@ class Test_Spectral_Profiler_IO(unittest.TestCase):
def test_openspc(self):
ds = io_spectral_profiler.Spectral_Profiler(self.examplefile)
self.assertEqual(ds.nspectra, 38)
self.assertIsInstance(ds.spectra, pd.Panel)
self.assertEqual(ds.spectra[0].columns.tolist(), ['RAW', 'REF1', 'REF2', 'QA'])
self.assertEqual(ds.spectra[0].columns.tolist(), ['RAW', 'REF1', 'REF2', 'QA', 'RAD'])
def test_read_browse(self):
ds = io_spectral_profiler.Spectral_Profiler(self.examplefile)
......
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