Skip to content

Commit

Permalink
fix quick MSRC
Browse files Browse the repository at this point in the history
  • Loading branch information
DomFijan committed Oct 7, 2023
1 parent c882db9 commit 881236d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ConservedWaterSearch/water_clustering.py
Original file line number Diff line number Diff line change
Expand Up @@ -403,9 +403,9 @@ def __scan_clustering_params(
allow_single,
restart: bool = True,
):
found: bool = False if len(Odata) < self.nsnaps else True
for wt in whichH:
wta = [wt]
found: bool = False if len(Odata) < self.nsnaps else True
while found:
found = False
# loop over minsamps- from N(snapshots) to 0.75*N(snapshots)
Expand Down Expand Up @@ -482,7 +482,7 @@ def __scan_clustering_params(
):
found = True
allow_single = True
if len(Odata) < self.nsnaps:
if len(Odata) < self.nsnaps or not restart:
found = False
if (self.debugH == 1 or self.debugO == 1) and self.plotend:
plt = __check_mpl_installation()
Expand Down

0 comments on commit 881236d

Please sign in to comment.