Skip to content

Commit

Permalink
increase index by 1 for header row (#324)
Browse files Browse the repository at this point in the history
  • Loading branch information
wow-such-code authored Jul 18, 2023
1 parent 7c4e8d0 commit c1988c9
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,12 @@ public void addSheetToSpreadsheet(MetadataType metaDataType) {
}

private void addRowsForInitialSamples(int numberOfSamples) {
setMaxRows(0);
// + 1 header row
setMaxRows(1);
for (int currentRow = 1; currentRow <= numberOfSamples; currentRow++) {
addRow();
}
setMaxRows(numberOfSamples);
setMaxRows(numberOfSamples+1);
}

private static void prepareConditionItems(List<ExperimentalGroup> groups) {
Expand Down

0 comments on commit c1988c9

Please sign in to comment.