diff --git a/lib/galaxy/objectstore/irods.py b/lib/galaxy/objectstore/irods.py index eb6841f6c51..9b9bfa4bf5c 100644 --- a/lib/galaxy/objectstore/irods.py +++ b/lib/galaxy/objectstore/irods.py @@ -429,7 +429,7 @@ class IRODSObjectStore(DiskObjectStore, CloudConfigMixin): log.debug("Pushing cache file '%s' of size %s bytes to collection '%s'", source_file, os.path.getsize(source_file), rel_path) # Add the source file to the irods collection - self.session.data_objects.put(source_file, f"{collection_path}/", **options) + self.session.data_objects.put(source_file, data_object_path, **options) end_time = datetime.now() log.debug("Pushed cache file '%s' to collection '%s' (%s bytes transfered in %s sec)",