1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/fe538afce7d4/ Changeset: fe538afce7d4 User: inithello Date: 2013-04-02 17:47:38 Summary: Fix for adding new entries to a tool data table that is already present in app.tool_data_tables. Affected #: 1 file diff -r eea87f210c46b6bc9cc7e82e0f12c13bfa6f1e5e -r fe538afce7d41adec8c60f197c226e92702225f4 lib/galaxy/tools/data/__init__.py --- a/lib/galaxy/tools/data/__init__.py +++ b/lib/galaxy/tools/data/__init__.py @@ -59,6 +59,11 @@ if table.name not in self.data_tables: self.data_tables[ table.name ] = table log.debug( "Loaded tool data table '%s'", table.name ) + else: + for table_row in table.data: + # FIXME: This does not account for an entry with the same unique build ID, but a different path. + if table_row not in self.data_tables[ table.name ].data: + self.data_tables[ table.name ].data.append( table_row ) return table_elems def add_new_entries_from_config_file( self, config_filename, tool_data_path, shed_tool_data_table_config, persist=False ): """ 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.