1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/6cf5d0cbaf96/ Changeset: 6cf5d0cbaf96 User: dannon Date: 2013-09-17 20:56:56 Summary: MetadataFile shouldn't attempt to create by default without checking exists() first. Affected #: 1 file diff -r 96a2ab47b882690df5a2a962d3689474e4312e3a -r 6cf5d0cbaf96c9910b7e72a83f16d5c6a9f2f34a lib/galaxy/model/__init__.py --- a/lib/galaxy/model/__init__.py +++ b/lib/galaxy/model/__init__.py @@ -2416,7 +2416,8 @@ da = self.history_dataset or self.library_dataset if self.object_store_id is None and da is not None: self.object_store_id = da.dataset.object_store_id - da.dataset.object_store.create( self, extra_dir='_metadata_files', extra_dir_at_root=True, alt_name="metadata_%d.dat" % self.id ) + if not da.dataset.object_store.exists( self, extra_dir='_metadata_files', extra_dir_at_root=True, alt_name="metadata_%d.dat" % self.id ): + da.dataset.object_store.create( self, extra_dir='_metadata_files', extra_dir_at_root=True, alt_name="metadata_%d.dat" % self.id ) path = da.dataset.object_store.get_filename( self, extra_dir='_metadata_files', extra_dir_at_root=True, alt_name="metadata_%d.dat" % self.id ) return path except AttributeError: 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.