From 2b70e34a61e024ea6bdb0b08ec7bd51998559b90 Mon Sep 17 00:00:00 2001 From: Kaivan Kamali Date: Thu, 6 Jan 2022 09:41:28 -0500 Subject: [PATCH] Revised code based on code review --- lib/galaxy/objectstore/irods.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)",