My script won't run through debugger but will run without debugger
Hello! I have a script that I can get to work perfectly fine if I just use the "Run Script" button in the script window but if I open the debugger and use the "Run" button I get an error message. The message says "Subscripting a list with one element list or matrix "flag" is now a list not a scalar. The line of the script it is refering to is in bold below: flag = loc(-5<=CalcMassesFromPeak<=5)...