commit/galaxy-central: jgoecks: Make implicit dataset conversion work with changes in 1827729ed37e.
1 new changeset in galaxy-central: http://bitbucket.org/galaxy/galaxy-central/changeset/24270f172fc8/ changeset: 24270f172fc8 user: jgoecks date: 2011-10-13 16:59:14 summary: Make implicit dataset conversion work with changes in 1827729ed37e. affected #: 1 file (-1 bytes) --- a/lib/galaxy/model/__init__.py Wed Oct 12 15:50:02 2011 -0400 +++ b/lib/galaxy/model/__init__.py Thu Oct 13 10:59:14 2011 -0400 @@ -948,12 +948,11 @@ raise NoConverterException("A dependency (%s) is missing a converter." % dependency) except KeyError: pass # No deps - assoc = ImplicitlyConvertedDatasetAssociation( parent=self, file_type=target_ext, metadata_safe=False ) new_dataset = self.datatype.convert_dataset( trans, self, target_ext, return_output=True, visible=False, deps=deps, set_output_history=False ).values()[0] new_dataset.name = self.name + assoc = ImplicitlyConvertedDatasetAssociation( parent=self, file_type=target_ext, dataset=new_dataset, metadata_safe=False ) session = trans.sa_session session.add( new_dataset ) - assoc.dataset = new_dataset session.add( assoc ) session.flush() return None 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.
participants (1)
-
Bitbucket