diff --git a/ibridgesgui/sync.py b/ibridgesgui/sync.py index aede276c..cb875e9d 100644 --- a/ibridgesgui/sync.py +++ b/ibridgesgui/sync.py @@ -178,6 +178,7 @@ def _gather_info_for_transfer(self): self.error_label.setText("Please select a collection.") return None irods_index = irods_selection[0] + self.refresh_irods_index = irods_index irods_path = self.irods_model.irods_path_from_tree_index(irods_index) if irods_path.dataobject_exists(): self.error_label.setText("Please select a collection, not a data object.") @@ -249,6 +250,7 @@ def _sync_end(self, thread_output: dict): self.sync_source = "" self.setCursor(QtGui.QCursor(QtCore.Qt.CursorShape.ArrowCursor)) if self.refresh_irods_index is not None: + print(self.refresh_irods_index) self.irods_model.refresh_subtree(self.refresh_irods_index) # real sync if necessary