Skip to content

Commit 002bbcb

Browse files
Bugfix clustering name duplication
1 parent d323ea9 commit 002bbcb

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

main_window.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -865,8 +865,7 @@ def init_clustering(self):
865865
rmsd_val = float(self.widg.rmsd_val.value())
866866
file_pth = "/tmp/ring/" + obj + ".npy"
867867

868-
# TODO: remove comment for deployment
869-
if not os.path.exists(file_pth): # or obj not in self.clustering_runned_ids:
868+
if not os.path.exists(file_pth) or obj not in self.clustering_runned_ids:
870869
self.calculate_clustering()
871870
self.clustering_runned_ids.add(obj)
872871
method = self.widg.clustering_method.currentText()

ring-plugin.zip

-22.1 KB
Binary file not shown.

0 commit comments

Comments
 (0)