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:
79c34be
)
minor change to output of main method for testing file IO
author
jprocter
<Jim Procter>
Tue, 29 Jan 2008 14:43:17 +0000
(14:43 +0000)
committer
jprocter
<Jim Procter>
Tue, 29 Jan 2008 14:43:17 +0000
(14:43 +0000)
src/jalview/io/AppletFormatAdapter.java
patch
|
blob
|
history
diff --git
a/src/jalview/io/AppletFormatAdapter.java
b/src/jalview/io/AppletFormatAdapter.java
index
b37c60e
..
05de682
100755
(executable)
--- a/
src/jalview/io/AppletFormatAdapter.java
+++ b/
src/jalview/io/AppletFormatAdapter.java
@@
-413,6
+413,7
@@
public class AppletFormatAdapter
if (f.exists())
{
try {
if (f.exists())
{
try {
+ System.out.println("Reading file: "+f);
AppletFormatAdapter afa = new AppletFormatAdapter();
Runtime r = Runtime.getRuntime();
System.gc();
AppletFormatAdapter afa = new AppletFormatAdapter();
Runtime r = Runtime.getRuntime();
System.gc();
@@
-422,6
+423,12
@@
public class AppletFormatAdapter
t1 +=System.currentTimeMillis();
System.gc();
memf += r.totalMemory()-r.freeMemory();
t1 +=System.currentTimeMillis();
System.gc();
memf += r.totalMemory()-r.freeMemory();
+ if (al!=null)
+ {
+ System.out.println("Alignment contains "+al.getHeight()+" sequences and "+al.getWidth()+" columns.");
+ } else {
+ System.out.println("Couldn't read alignment");
+ }
System.out.println("Read took "+(t1/1000.0)+" seconds.");
System.out.println("Difference between free memory now and before is "+(memf/(1024.0*1024.0)*1.0)+" MB");
System.out.println("Read took "+(t1/1000.0)+" seconds.");
System.out.println("Difference between free memory now and before is "+(memf/(1024.0*1024.0)*1.0)+" MB");