Skip to content

Commit

Permalink
fix get_delta_score
Browse files Browse the repository at this point in the history
  • Loading branch information
mostafakalhor committed Oct 26, 2024
1 parent ee2aa82 commit 2057184
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions spectrum_fundamentals/metrics/percolator.py
Original file line number Diff line number Diff line change
Expand Up @@ -525,10 +525,10 @@ def calc(self): # noqa: C901
# self.metrics_val['spectral_angle_delta_score'] = Percolator.get_delta_score(self.metrics_val[['ScanNr',
# 'spectral_angle']], 'spectral_angle')
pass
# else:
# self.metrics_val["andromeda_delta_score"] = Percolator.get_delta_score(
# self.metrics_val[["ScanNr", "andromeda"]], "andromeda"
# )
else:
self.metrics_val["andromeda_delta_score"] = Percolator.get_delta_score(
self.metrics_val[["ScanNr", "andromeda"]], "andromeda"
)

self._reorder_columns_for_percolator()

Expand Down

0 comments on commit 2057184

Please sign in to comment.