From d15f5de72b92c8ac1b217362dc565c496e8f9370 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Fri, 16 Dec 2016 15:14:55 +0000 Subject: [PATCH] JAL-2360 report line number when threshold cannot be parsed as a value --- src/jalview/io/AnnotationFile.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jalview/io/AnnotationFile.java b/src/jalview/io/AnnotationFile.java index f80adef..2af3fcd 100755 --- a/src/jalview/io/AnnotationFile.java +++ b/src/jalview/io/AnnotationFile.java @@ -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; -- 1.7.10.2