Git Lab CI for docker build enabled! You can enable it using .gitlab-ci.yml in your project. Check file template at https://gitlab.bio.di.uminho.pt/snippets/5

Commit b1a8ea22 authored by dlagoa's avatar dlagoa
Browse files

minor changes

parent bc33f60e
......@@ -14,9 +14,10 @@ import java.util.Map;
import java.util.Set;
import java.util.concurrent.atomic.AtomicBoolean;
import org.apache.poi.hssf.usermodel.HSSFRow;
import org.apache.poi.hssf.usermodel.HSSFSheet;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
import org.apache.poi.ss.usermodel.Row;
import org.apache.poi.ss.usermodel.Sheet;
import org.apache.poi.ss.usermodel.Workbook;
import org.apache.poi.xssf.usermodel.XSSFWorkbook;
import es.uvigo.ei.aibench.core.operation.annotation.Cancel;
import es.uvigo.ei.aibench.core.operation.annotation.Direction;
......@@ -324,10 +325,10 @@ public class EnzymesAutomaticAnnotation {
int rowCounter = 0, columnCounter = 0;
HSSFWorkbook wb = new HSSFWorkbook();
HSSFSheet sheet = wb.createSheet(EnzymesAutomaticAnnotation.class.getSimpleName().toString());
Workbook wb = new XSSFWorkbook();
Sheet sheet = wb.createSheet(EnzymesAutomaticAnnotation.class.getSimpleName().toString());
HSSFRow excelRow = sheet.createRow(rowCounter++);
Row excelRow = sheet.createRow(rowCounter++);
excelRow.createCell(columnCounter++).setCellValue("genes");
excelRow.createCell(columnCounter++).setCellValue("annotation");
......@@ -397,7 +398,7 @@ public class EnzymesAutomaticAnnotation {
excelRow.createCell(columnCounter++).setCellValue("Accept default annotation if no match is found");
excelRow.createCell(columnCounter++).setCellValue(Boolean.valueOf(this.inputAcceptDefault));
String excelFileName = path.concat(EnzymesAutomaticAnnotation.class.getSimpleName().concat("_").concat(blastDatabase).concat(hour24).concat("_").concat(min).concat("_").concat(day).concat(".xls"));
String excelFileName = path.concat(EnzymesAutomaticAnnotation.class.getSimpleName().concat("_").concat(blastDatabase).concat(hour24).concat("_").concat(min).concat("_").concat(day).concat(".xlsx"));
FileOutputStream fileOut = new FileOutputStream(excelFileName);
wb.write(fileOut);
fileOut.flush();
......
#Generated by Maven Integration for Eclipse
#Mon Apr 01 11:23:40 BST 2019
#Tue Apr 16 11:24:58 BST 2019
version=0.0.1-SNAPSHOT
groupId=pt.uminho.ceb.biosystems.merlin
m2e.projectName=merlin-automatic-annotation
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment