mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
merge
This commit is contained in:
@@ -23,7 +23,6 @@ pysqlite = 2.3.5
|
||||
python_lzo = 1.08
|
||||
threadframe = 0.2
|
||||
guppy = 0.1.8
|
||||
numpy = 1.2.1
|
||||
|
||||
[eggs:noplatform]
|
||||
Beaker = 1.4
|
||||
@@ -63,7 +62,6 @@ nose = .dev_r101
|
||||
|
||||
; source location, necessary for scrambling
|
||||
[source]
|
||||
numpy = http://downloads.sourceforge.net/numpy/numpy-1.2.1.tar.gz
|
||||
bx_python = http://bitbucket.org/james_taylor/bx-python/get/4bf1f32e6b76.bz2
|
||||
Cheetah = http://voxel.dl.sourceforge.net/sourceforge/cheetahtemplate/Cheetah-1.0.tar.gz
|
||||
DRMAA_python = http://gridengine.sunsource.net/files/documents/7/36/DRMAA-python-0.2.tar.gz
|
||||
|
||||
@@ -495,8 +495,14 @@ class JobWrapper( object ):
|
||||
shutil.move( dataset_path.false_path, dataset_path.real_path )
|
||||
log.debug( "finish(): Moved %s to %s" % ( dataset_path.false_path, dataset_path.real_path ) )
|
||||
except ( IOError, OSError ):
|
||||
self.fail( "Job %s's output dataset(s) could not be read" % job.id )
|
||||
return
|
||||
# this can happen if Galaxy is restarted during the job's
|
||||
# finish method - the false_path file has already moved,
|
||||
# and when the job is recovered, it won't be found.
|
||||
if os.path.exists( dataset_path.real_path ) and os.stat( dataset_path.real_path ).st_size > 0:
|
||||
log.warning( "finish(): %s not found, but %s is not empty, so it will be used instead" % ( dataset_path.false_path, dataset_path.real_path ) )
|
||||
else:
|
||||
self.fail( "Job %s's output dataset(s) could not be read" % job.id )
|
||||
return
|
||||
job_context = ExpressionContext( dict( stdout = stdout, stderr = stderr ) )
|
||||
for dataset_assoc in job.output_datasets:
|
||||
context = self.get_dataset_finish_context( job_context, dataset_assoc.dataset.dataset )
|
||||
|
||||
Reference in New Issue
Block a user