Changeset 1218

Show
Ignore:
Timestamp:
30-11-10 10:45:55 (3 years ago)
Author:
adem.bilican@…
Message:

error in the SimpleTox? exporter

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/controllers/dbnp/exporter/ExporterController.groovy

    r1217 r1218  
    207207    def writeMandatoryFields(sub,sample,study) { 
    208208        // adding subject name in row 1 
    209         sample.parentSubject.name ? sub.createCell((short)0).setCellValue(sample.parentSubject.name) : "not defined" 
     209        sample.parentSubject ? sub.createCell((short)0).setCellValue(sample.parentSubject.name) : "not defined" 
    210210        // adding sample in row 4 
    211211        sample.name!=null ? sub.createCell((short)3).setCellValue(sample.name) : "not defined"