Fix bug in JobWrapper.get_input_fnames(), used by pbs runner, when an input dataset was optional and left empty.

This commit is contained in:
Daniel Blankenberg
2008-07-18 12:10:23 -04:00
parent 70c4b8ee23
commit a19093d158
+1 -1
View File
@@ -476,7 +476,7 @@ class JobWrapper( object ):
def get_input_fnames( self ):
job = model.Job.get( self.job_id )
return [ da.dataset.file_name for da in job.input_datasets ]
return [ da.dataset.file_name for da in job.input_datasets if data.dataset ]
def get_output_fnames( self ):
job = model.Job.get( self.job_id )