Skip to content

Commit

Permalink
Update descriptor.py
Browse files Browse the repository at this point in the history
  • Loading branch information
beidouamg authored Jan 15, 2025
1 parent 4c4be8b commit 8ccd945
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gdpx/selector/descriptor.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ def _select_structures(self, frames: List[Atoms]):
scores, selected_indices = [np.NaN], [0]
else:
scores, selected_indices = self._sparsify(features, num_fixed)
scores = scores[selected_indices]
else:
features, scores, selected_indices = None, [], []

Expand Down

0 comments on commit 8ccd945

Please sign in to comment.