Skip to content
Snippets Groups Projects
Commit 818b5d07 authored by Elliot Oram's avatar Elliot Oram
Browse files

Changed systemTest to use correct naming convention

Refs #13975
parent 24a15d2b
No related merge requests found
......@@ -610,7 +610,12 @@ class ISISIndirectInelasticDiagnostics(ISISIndirectInelasticBase):
SpectraRange=self.spectra)
# Construct the result ws name.
self.result_names = [os.path.splitext(self.rawfiles[0])[0] + self.suffix]
Load(File=self.rawfiles[0]
OutputWorkspace='__temp')
resultWs = mtd['__temp']
inst_name = resultWs.getInstrument().getFullName().lower()
run_number = resultWs.run().getProperty('run_number').value
self.result_names = [inst_name + run_number + self.suffix]
def _validate_properties(self):
'''Check the object properties are in an expected state to continue'''
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment