PCR plate. If params.p7_rows is equal or less than 2 rows (A-H), then there are less than 24 wells (2 x 12) indicating the p7 is by rows so group by pcr plates. If params.p7_rows is greater or equal to 7 rows, then a whole p7 plate is used ( 7 x 12 + more) so ...