commit/galaxy-central: greg: Fix for shed statistics.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/84d0e16fad2c/ changeset: 84d0e16fad2c user: greg date: 2012-04-03 21:26:05 summary: Fix for shed statistics. affected #: 1 file diff -r 69aab50e8e18b3cda8ffd9acf4537e01a0c6c31f -r 84d0e16fad2cb311503a8e688de4808fd65d78f0 lib/galaxy/util/shed_util.py --- a/lib/galaxy/util/shed_util.py +++ b/lib/galaxy/util/shed_util.py @@ -48,18 +48,18 @@ self.proprietary_datatypes = 0 self.total_clones = 0 for repository in self.sa_session.query( self.model.Repository ): + self.repositories += 1 self.total_clones += repository.times_downloaded if repository.deleted: self.deleted_repositories += 1 elif repository.is_new: self.new_repositories += 1 else: - self.repositories += 1 + processed_guids = [] + processed_invalid_tool_configs = [] + processed_relative_workflow_paths = [] + processed_datatypes = [] for downloadable_revision in repository.downloadable_revisions: - processed_guids = [] - processed_invalid_tool_configs = [] - processed_relative_workflow_paths = [] - processed_datatypes = [] metadata = downloadable_revision.metadata if 'tools' in metadata: tool_dicts = metadata[ 'tools' ] 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