Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reload irods tree after sync #176

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions ibridgesgui/sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.")
Expand Down Expand Up @@ -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
Expand Down
Loading