Better error message for SimpleGATKReports
This commit is contained in:
parent
8d2d0253a2
commit
6feda540a4
|
|
@ -343,7 +343,7 @@ public class GATKReport {
|
||||||
|
|
||||||
GATKReportTable table = tables.firstEntry().getValue();
|
GATKReportTable table = tables.firstEntry().getValue();
|
||||||
if ( table.getNumColumns() != values.length )
|
if ( table.getNumColumns() != values.length )
|
||||||
throw new ReviewedStingException("The number of arguments in writeRow() must match the number of columns in the table");
|
throw new ReviewedStingException("The number of arguments in writeRow() " + values.length + " must match the number of columns in the table" + table.getNumColumns());
|
||||||
|
|
||||||
final int rowIndex = table.getNumRows();
|
final int rowIndex = table.getNumRows();
|
||||||
for ( int i = 0; i < values.length; i++ )
|
for ( int i = 0; i < values.length; i++ )
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue