git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b005d24
)
JAL-653 set the warningMessage for the file source to allow the GUI to report problem...
author
Jim Procter
<jprocter@dundee.ac.uk>
Thu, 19 Feb 2015 15:20:51 +0000
(15:20 +0000)
committer
James Procter
<jprocter@ls30857.local>
Fri, 5 Jun 2015 11:56:47 +0000
(12:56 +0100)
src/jalview/io/FeaturesFile.java
patch
|
blob
|
history
diff --git
a/src/jalview/io/FeaturesFile.java
b/src/jalview/io/FeaturesFile.java
index
baf9b82
..
88a8611
100755
(executable)
--- a/
src/jalview/io/FeaturesFile.java
+++ b/
src/jalview/io/FeaturesFile.java
@@
-635,6
+635,9
@@
public class FeaturesFile extends AlignFile
resetMatcher();
} catch (Exception ex)
{
+ // should report somewhere useful for UI if necessary
+ warningMessage = ((warningMessage == null) ? "" : warningMessage)
+ + "Parsing error at\n" + line;
System.out.println("Error parsing feature file: " + ex + "\n" + line);
ex.printStackTrace(System.err);
resetMatcher();