Commit 1b83b370 authored by Srikanth Ravipati's avatar Srikanth Ravipati Committed by Peterson, Peter
Browse files

Set and unset ISIS facility

parent 37bf9cd0
......@@ -877,9 +877,11 @@ class DataFunctionsTest(unittest.TestCase):
self.assertTrue(isinstance(bin_indices, range))
def test_get_bin_indices_returns_a_numpy_ndarray_with_monitors(self):
config.setFacility("ISIS")
ws = LoadRaw("GEM40979", SpectrumMin=1, SpectrumMax=102)
bin_indices = funcs.get_bin_indices(ws)
self.assertTrue(isinstance(bin_indices, np.ndarray))
config.setFacility("NONE")
if __name__ == '__main__':
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment