Changeset 2050

Show
Ignore:
Timestamp:
06-10-11 14:05:50 (3 years ago)
Author:
s.h.sikkema@…
Message:

Skip first row in Galaxy export for now to support the current PLS tool in Galaxy, will change in the future

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/controllers/dbnp/studycapturing/AssayController.groovy

    r2049 r2050  
    309309                response.setContentType("application/octet-stream") 
    310310                try { 
    311                         assayService.exportRowWiseDataToCSVFile(rowData, response.outputStream, outputDelimiter, java.util.Locale.US) 
     311                        // Skip first row for now to support the current PLS tool in Galaxy, will change in the future 
     312                        assayService.exportRowWiseDataToCSVFile(rowData[1:-1], response.outputStream, outputDelimiter, java.util.Locale.US) 
    312313                } catch (Exception e) { 
    313314                        flash.errorMessage = e.message