I am trying to use the Data Analysis “JND Difference Calculator Macro” Function. I keep getting this Exception message. Does anyone know how I can get it to recognize the label? I am importing my results in a CSV file into Image J, copy and pasted directly from my Image Analysis output.
Here is the error message:
ImageJ 1.52k; Java 1.8.0_172 [64-bit]; Mac OS X 10.14.6; 80MB of 3000MB (2%)
java.lang.IllegalArgumentException: “Label” column not found
at ij.measure.ResultsTable.getStringValue(ResultsTable.java:418)
at ij.macro.Functions.getResultLabel(Functions.java:1196)
at ij.macro.Functions.getStringFunction(Functions.java:273)
at ij.macro.Interpreter.getStringTerm(Interpreter.java:1400)
at ij.macro.Interpreter.getString(Interpreter.java:1378)
at ij.macro.Interpreter.doArrayElementAssignment(Interpreter.java:920)
at ij.macro.Interpreter.doAssignment(Interpreter.java:780)
at ij.macro.Interpreter.doStatement(Interpreter.java:288)
at ij.macro.Interpreter.doStatements(Interpreter.java:256)
at ij.macro.Interpreter.run(Interpreter.java:152)
at ij.macro.Interpreter.run(Interpreter.java:91)
at ij.macro.Interpreter.run(Interpreter.java:102)
at ij.plugin.Macro_Runner.runMacro(Macro_Runner.java:161)
at ij.plugin.Macro_Runner.runMacroFile(Macro_Runner.java:145)
at ij.plugin.Macro_Runner.run(Macro_Runner.java:60)
at ij.IJ.runPlugIn(IJ.java:199)
at ij.Executer.runCommand(Executer.java:137)
at ij.Executer.run(Executer.java:66)
at java.lang.Thread.run(Thread.java:748)
Hi All,
Thanks for the info. What a weird intermittent issue. I’ll have a look at reproducing the error next week. In the meantime could you email me the .csv files you’re struggling to get working?
Could you also please try rolling back ImageJ to version 1.49 (help>update> and choose v1.49, you can later update back to the latest version if this doesn’t work). This will help me debug the issue because the way results tables work changed with later versions.
Cheers,
Jolyon