commit/galaxy-central: jmchilton: Fix tool rerunning for data_collection parameters.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/e8453771b1db/ Changeset: e8453771b1db Branch: stable User: jmchilton Date: 2014-09-03 22:05:29 Summary: Fix tool rerunning for data_collection parameters. Bug report from takadonet - https://gist.github.com/Takadonet/ba21ca26748a459615e3. My testing shows this fixes that bug and likewise he confirmed the fix works. Affected #: 1 file diff -r 8b183d7571ab1180f8a82e0dfbaf57b098cc50a6 -r e8453771b1dbfe462974b63216e00752fb8c4097 lib/galaxy/tools/parameters/basic.py --- a/lib/galaxy/tools/parameters/basic.py +++ b/lib/galaxy/tools/parameters/basic.py @@ -2096,6 +2096,8 @@ elif isinstance( value, basestring ): if value.startswith( "dce:" ): rval = trans.sa_session.query( trans.app.model.DatasetCollectionElement ).get( value[ len( "dce:"): ] ) + elif value.startswith( "hdca:" ): + rval = trans.sa_session.query( trans.app.model.HistoryDatasetCollectionAssociation ).get( value[ len( "hdca:"): ] ) else: rval = trans.sa_session.query( trans.app.model.HistoryDatasetCollectionAssociation ).get( value ) if rval and isinstance( rval, trans.app.model.HistoryDatasetCollectionAssociation ): 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)
-
commits-noreply@bitbucket.org