1 new commit in galaxy-central:
https://bitbucket.org/galaxy/galaxy-central/changeset/187267753315/ changeset: 187267753315 user: dannon date: 2011-12-09 15:50:15 summary: Fix variable multiple outputs (collect_primary_datasets) to work with ObjectStore. affected #: 1 file
diff -r 1da0c76f4000d6627d6ce66a7de55a6b80753661 -r 187267753315c372a684a5170d053a6b561aebb5 lib/galaxy/tools/__init__.py --- a/lib/galaxy/tools/__init__.py +++ b/lib/galaxy/tools/__init__.py @@ -1958,7 +1958,7 @@ self.sa_session.add( primary_data ) self.sa_session.flush() # Move data from temp location to dataset location - shutil.move( filename, primary_data.file_name ) + self.app.object_store.update_from_file(primary_data.dataset.id, filename, create=True) primary_data.set_size() primary_data.name = "%s (%s)" % ( outdata.name, designation ) primary_data.info = outdata.info @@ -1970,7 +1970,7 @@ job = None for assoc in outdata.creating_job_associations: job = assoc.job - break + break if job: assoc = self.app.model.JobToOutputDatasetAssociation( '__new_primary_file_%s|%s__' % ( name, designation ), primary_data ) assoc.job = job
Repository URL: https://bitbucket.org/galaxy/galaxy-central/
--
This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.