Esempio n. 1
0
 public PositionMapping(MZTabColumnFactory factory, String[] headerList) {
   String header;
   for (int physicalPosition = 0; physicalPosition < headerList.length; physicalPosition++) {
     header = headerList[physicalPosition];
     MZTabColumn column = factory.findColumnByHeader(header);
     if (column != null) {
       put(physicalPosition, column.getLogicPosition());
     }
   }
 }
Esempio n. 2
0
 @Test
 public void testUnique() throws Exception {
   pepParser.checkUnique(pehFactory.findColumnByHeader("unique"), "x");
   assertError(FormatErrorType.MZBoolean);
 }