From: Jim Procter Date: Fri, 16 Dec 2016 15:14:55 +0000 (+0000) Subject: JAL-2360 report line number when threshold cannot be parsed as a value X-Git-Tag: Release_2_10_3b1~357^2~48 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=d15f5de72b92c8ac1b217362dc565c496e8f9370;p=jalview.git JAL-2360 report line number when threshold cannot be parsed as a value --- 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;