Ignore:
Timestamp:
Jan 17, 2011, 5:08:16 PM (9 years ago)
Author:
robert@…
Message:

Implemented uploading and parsing of zip files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/controllers/nl/tno/metagenomics/FastaController.groovy

    r3 r5  
    107107                 * The second parameter is a callback function to update progress indicators
    108108                 */
    109                 def parsedFiles = fastaService.parseFiles( filenames, { files, bytes ->
     109                def parsedFiles = fastaService.parseFiles( filenames, { files, bytes, totalFiles, totalBytes ->
     110                        session.processProgress.numFiles += totalFiles;
     111                        session.processProgress.numBytes += totalBytes;
    110112                        session.processProgress.filesProcessed = files;
    111113                        session.processProgress.bytesProcessed = bytes;
Note: See TracChangeset for help on using the changeset viewer.