Get instrument from file name by searching up to "_Def" re #3971
This time using the string.find("_Def") function, which does look for the argument string as a substring rather than any character in the argument string. Also modified a unit test to expect "REF_L" rather than "REF" .
Signed-off-by:
Karl Palmen <karl.palmen@stfc.ac.uk>
Loading
Please register or sign in to comment