Changeset 553
- Timestamp:
- 12/04/11 13:10:11 (6 months ago)
- Location:
- trunk/org.bridgedb.tools.qc
- Files:
-
- 3 added
- 1 modified
-
lib (added)
-
lib/google-collect-snapshot-20080820.jar (added)
-
src/org/bridgedb/tools/qc/BridgeQC.java (modified) (4 diffs)
-
src/org/bridgedb/tools/qc/PatternChecker.java (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/org.bridgedb.tools.qc/src/org/bridgedb/tools/qc/BridgeQC.java
r403 r553 9 9 import org.bridgedb.DataSource; 10 10 import org.bridgedb.IDMapperException; 11 import org.bridgedb.bio.BioDataSource; 11 12 import org.bridgedb.rdb.SimpleGdb; 12 13 import org.bridgedb.rdb.SimpleGdbFactory; … … 98 99 { 99 100 Connection con = oldGdb.getConnection(); 100 //TODO 101 //TODO ... do something to compare cross-link consistency ... 101 102 } 102 103 … … 105 106 long oldSize = oldDb.length(); 106 107 long newSize = newDb.length(); 107 System.out.printf ("INFO: new size is %d Mb (changed %+3.1f%%) ", newSize / 1000000,108 System.out.printf ("INFO: new size is %d Mb (changed %+3.1f%%)\n", newSize / 1000000, 108 109 (double)(newSize - oldSize) / (double)oldSize * 100); 109 110 } … … 158 159 BridgeQC main = new BridgeQC (new File(args[0]), new File(args[1])); 159 160 main.run(); 161 162 BioDataSource.init(); 163 PatternChecker checker = new PatternChecker(); 164 checker.run(new File(args[0])); 160 165 } 161 166
