Ignore:
Timestamp:
Jul 1, 2010, 12:31:49 PM (11 years ago)
Author:
tabma
Message:
  • extra step for Simple Import Wizard implemented for easy adding and editing of cells (which were not imported yet)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/services/dbnp/importer/ImporterService.groovy

    r589 r632  
    6363            def headercell = sheet.getRow(sheet.getFirstRowNum()).getCell(index)
    6464            def tft = TemplateFieldType.STRING //default templatefield type
    65 
    6665           
    6766            // Check for every celltype, currently redundant code, but possibly this will be
     
    295294        def record = []
    296295       
    297         def study = new Study(title:"New study", template:template)
    298         def subject = new Subject(name:"New subject", species:Term.findByName("Homo sapiens"), template:template)
    299         def event = new Event(eventdescription:"New event", template:template)
    300         def sample = new Sample(name:"New sample", template:template)
     296        def study = new Study(template:template)
     297        def subject = new Subject(template:template)
     298        def event = new Event(template:template)
     299        def sample = new Sample(template:template)
    301300
    302301        for (HSSFCell cell: excelrow) {     
Note: See TracChangeset for help on using the changeset viewer.