JAL-2360 report line number when threshold cannot be parsed as a value
[jalview.git] / src / jalview / io / AnnotationFile.java
index f80adef..2af3fcd 100755 (executable)
@@ -1430,7 +1430,7 @@ public class AnnotationFile
       value = Float.valueOf(nextToken);
     } catch (NumberFormatException e)
     {
-      System.err.println("Threshold '" + nextToken
+      System.err.println("line " + nlinesread + ": Threshold '" + nextToken
               + "' invalid, setting to zero");
     }
     String label = st.hasMoreTokens() ? st.nextToken() : null;