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

Updates tests for sp

parent 03a7e912
Branches
Tags
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.
Please register or to comment