Changeset 6466
- Timestamp:
- Nov 3, 2021, 3:11:48 PM (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/net.sf.basedb.reggie/branches/4.33-stable/src/net/sf/basedb/reggie/plugins/cmd/FastqInfo.java
r6459 r6466 3 3 import java.io.InputStream; 4 4 import java.util.Date; 5 import java.util.Locale; 5 6 6 7 import org.json.simple.JSONObject; … … 37 38 { 38 39 //R1.md5 = fastq.getOptionalEntry("R1 MD5", PatternValidator.MD5); 39 R1.expectedSize = fastq.getOptionalEntry("R1 1size", LongValidator.POSITIVE_OR_NULL);40 R1.expectedSize = fastq.getOptionalEntry("R1size", LongValidator.POSITIVE_OR_NULL); 40 41 } 41 42 if (R2 != null) … … 70 71 else if (f.expectedSize != null && f.actualSize != f.expectedSize) 71 72 { 72 section.addErrorMessage("FASTQ file size: "+f.name+"="+ f.actualSize+" (expected "+f.expectedSize+" bytes)");73 section.addErrorMessage("FASTQ file size: "+f.name+"="+String.format(Locale.US, "%,d", f.actualSize)+" bytes (expected "+String.format(Locale.US, "%,d", f.expectedSize)+" bytes)"); 73 74 } 74 75 }
Note: See TracChangeset
for help on using the changeset viewer.