git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
patch to fix occasional arrayoutofbounds exception when working with hidden columns...
[jalview.git]
/
src
/
jalview
/
bin
/
JalviewLite.java
diff --git
a/src/jalview/bin/JalviewLite.java
b/src/jalview/bin/JalviewLite.java
index
9226dc4
..
9a09df4
100755
(executable)
--- a/
src/jalview/bin/JalviewLite.java
+++ b/
src/jalview/bin/JalviewLite.java
@@
-599,7
+599,7
@@
public class JalviewLite extends Applet
* State variable: format of file source
*/
String format;
* State variable: format of file source
*/
String format;
-
+ String _file;
JalviewLite applet;
private void dbgMsg(String msg)
{
JalviewLite applet;
private void dbgMsg(String msg)
{
@@
-635,14
+635,10
@@
public class JalviewLite extends Applet
dbgMsg("Protocol identified as '" + protocol + "'");
return file;
}
dbgMsg("Protocol identified as '" + protocol + "'");
return file;
}
-
+
public LoadingThread(String _file, JalviewLite _applet)
{
public LoadingThread(String _file, JalviewLite _applet)
{
- dbgMsg("Loading thread started with:\n>>file\n" + _file + ">>endfile");
- file = setProtocolState(_file);
-
- format = new jalview.io.IdentifyFile().Identify(file, protocol);
- dbgMsg("File identified as '" + format + "'");
+ this._file=_file;
applet = _applet;
}
applet = _applet;
}
@@
-660,6
+656,11
@@
public class JalviewLite extends Applet
private void startLoading()
{
private void startLoading()
{
+ dbgMsg("Loading thread started with:\n>>file\n" + _file + ">>endfile");
+ file = setProtocolState(_file);
+
+ format = new jalview.io.IdentifyFile().Identify(file, protocol);
+ dbgMsg("File identified as '" + format + "'");
dbgMsg("Loading started.");
Alignment al = null;
try
dbgMsg("Loading started.");
Alignment al = null;
try