JAL-2360 report line number when threshold cannot be parsed as a value
authorJim Procter <jprocter@issues.jalview.org>
Fri, 16 Dec 2016 15:14:55 +0000 (15:14 +0000)
committerJim Procter <jprocter@issues.jalview.org>
Fri, 16 Dec 2016 15:14:55 +0000 (15:14 +0000)
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;