Commit 9a005191 authored by Geish Miladinovic's avatar Geish Miladinovic
Browse files

fix unit test fail (no ticket)

parent dd0b10a2
......@@ -41,7 +41,7 @@ public:
// missing event file - should fail execution
std::string inputFile = "PLN0044464.hdf";
algToBeTested.setPropertyValue("Filename", inputFile);
algToBeTested.setPropertyValue("BinaryEventPath", "./");
algToBeTested.setPropertyValue("BinaryEventPath", "../");
TS_ASSERT(!algToBeTested.execute());
// should succeed now
......
......@@ -885,7 +885,7 @@ class PelicanReduction(PythonAlgorithm):
evl.clear(False)
# mask the spectra, exlicitly convert numpy.int32 to int as MaskDetectors fails
mask = (include is not True)
mask = np.invert(include)
masked_spectra = [int(x) for x in np.arange(nhist)[mask]]
MaskDetectors(Workspace=ws_tag, SpectraList=masked_spectra)
......
Supports Markdown
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