Skip to content
Snippets Groups Projects
Commit d360f72a authored by Karl Palmen's avatar Karl Palmen
Browse files

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: default avatarKarl Palmen <karl.palmen@stfc.ac.uk>
parent 8304ee9e
No related branches found
No related tags found
No related merge requests found
Loading
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