2 new commits in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/bb744d8d3d6a/ Changeset: bb744d8d3d6a Branch: stable User: dan Date: 2014-02-10 19:31:39 Summary: Fix for Dataset.set_total_size() when e.g. encountering a dead symlink. Affected #: 1 file diff -r dc067a95261dec2b8862162dbac3f61bffa69ec9 -r bb744d8d3d6a74872a7b42b511d087c16b1ee8b3 lib/galaxy/model/__init__.py --- a/lib/galaxy/model/__init__.py +++ b/lib/galaxy/model/__init__.py @@ -1183,7 +1183,7 @@ self.total_size = self.file_size or 0 if self.object_store.exists(self, extra_dir=self._extra_files_path or "dataset_%d_files" % self.id, dir_only=True): for root, dirs, files in os.walk( self.extra_files_path ): - self.total_size += sum( [ os.path.getsize( os.path.join( root, file ) ) for file in files ] ) + self.total_size += sum( [ os.path.getsize( os.path.join( root, file ) ) for file in files if os.path.exists( os.path.join( root, file ) ) ] ) def has_data( self ): """Detects whether there is any data""" return self.get_size() > 0 https://bitbucket.org/galaxy/galaxy-central/commits/bb0f56f7c636/ Changeset: bb0f56f7c636 User: dan Date: 2014-02-10 19:32:35 Summary: merge Affected #: 1 file 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.