Skip to content

Commit

Permalink
Bugfix for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dineshpinto committed Mar 1, 2024
1 parent b046998 commit f90ceb8
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions tests/test_loading.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,21 +73,6 @@ def test_nanonis_afm_load(self):
exc = afm.get_channel("Excitation")
self.assertAlmostEqual(exc.pixels[0][0], 1.499999761581421)

def test_bruker_mfm_load(self):
bruker_measurements = self.dh.load_measurements(
measurement_str="", extension=".001", qudi=False
)

bruker = bruker_measurements[next(iter(bruker_measurements))]
bruker_data = bruker.data
scan_size = bruker.get_param_from_filename(unit="um")
mfm = bruker_data.get_channel("Phase", mfm=True)

self.assertEqual(scan_size, 15.0)
self.assertEqual(mfm.channel, "Phase")
self.assertEqual(mfm.type, "Bruker MFM")
bruker_data.file.close()

def test_pys_load(self):
pys_measurements = self.dh.load_measurements(
measurement_str="ndmin", extension=".pys", qudi=False
Expand Down

0 comments on commit f90ceb8

Please sign in to comment.