Skip to content

Commit

Permalink
fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ludwigc committed Dec 12, 2024
1 parent a2b2f61 commit 28f9a77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_nmrDataSet.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,12 +344,12 @@ def test_scale_spectra(self):
nd.data_pre_processing()
self.assertAlmostEqual(nd.nmrdat[0][1].spc[0].real.max() / 4250520058.933967, 1.0, 1)
nd.reset_data_pre_processing()
self.assertAlmostEqual(nd.nmrdat[0][0].spc[0].real.max() / 5743237076.247297, 1.0, 1)
self.assertAlmostEqual(nd.nmrdat[0][0].spc[0].real.max() / 5673105467.238647, 1.0, 1)
nd.pp.scale_pqn = False
nd.pp.flag_scale_spectra = True
nd.pp.preserve_overall_scale = True
nd.data_pre_processing()
self.assertAlmostEqual(nd.nmrdat[0][0].spc[0].real.max() / 6917446480.071812, 1.0, 1)
self.assertAlmostEqual(nd.nmrdat[0][0].spc[0].real.max() / 5673105467.2386465, 1.0, 1)
nd.reset_data_pre_processing()
nd.pp.preserve_overall_scale = False
nd.data_pre_processing()
Expand Down

0 comments on commit 28f9a77

Please sign in to comment.