commit/galaxy-central: dan: Fix for call to object_store.update_from_file for collect primary data in tools/__init__.py.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/6ceefdcedee5/ changeset: 6ceefdcedee5 user: dan date: 2012-04-02 16:48:27 summary: Fix for call to object_store.update_from_file for collect primary data in tools/__init__.py. affected #: 1 file diff -r 24b474fd29bcfddabd996e985c72872e21c8c0f8 -r 6ceefdcedee595904231c4bc2ee78417bfec637a lib/galaxy/tools/__init__.py --- a/lib/galaxy/tools/__init__.py +++ b/lib/galaxy/tools/__init__.py @@ -2180,7 +2180,7 @@ sa_session=self.sa_session ) self.app.security_agent.copy_dataset_permissions( outdata.dataset, child_dataset.dataset ) # Move data from temp location to dataset location - self.app.object_store.update_from_file(child_dataset.dataset, filename, create=True) + self.app.object_store.update_from_file(child_dataset.dataset, file_name=filename, create=True) self.sa_session.add( child_dataset ) self.sa_session.flush() child_dataset.set_size() @@ -2247,7 +2247,7 @@ self.sa_session.add( primary_data ) self.sa_session.flush() # Move data from temp location to dataset location - self.app.object_store.update_from_file(primary_data.dataset, filename, create=True) + self.app.object_store.update_from_file(primary_data.dataset, file_name=filename, create=True) primary_data.set_size() primary_data.name = "%s (%s)" % ( outdata.name, designation ) primary_data.info = outdata.info 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