1 new changeset in galaxy-central: http://bitbucket.org/galaxy/galaxy-central/changeset/83103cff8757/ changeset: 83103cff8757 branches: user: natefoo date: 2011-06-02 17:40:06 summary: Another fix for uploading datasets to a library without a history. affected #: 1 file (160 bytes) --- a/lib/galaxy/tools/parameters/basic.py Thu Jun 02 11:06:08 2011 -0400 +++ b/lib/galaxy/tools/parameters/basic.py Thu Jun 02 11:40:06 2011 -0400 @@ -801,10 +801,15 @@ hg17 """ def get_options( self, trans, other_values ): - last_used_build = trans.history.genome_build - for dbkey, build_name in trans.db_builds: - yield build_name, dbkey, ( dbkey == last_used_build ) + if not trans.history: + yield 'unspecified', '?', False + else: + last_used_build = trans.history.genome_build + for dbkey, build_name in trans.db_builds: + yield build_name, dbkey, ( dbkey == last_used_build ) def get_legal_values( self, trans, other_values ): + if not trans.history: + return set( '?' ) return set( dbkey for dbkey, _ in trans.db_builds ) class ColumnListParameter( SelectToolParameter ): 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.