We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e793a0 commit 07b96e7Copy full SHA for 07b96e7
ms2rescore/parse_spectra.py
@@ -7,6 +7,7 @@
7
8
import numpy as np
9
from ms2rescore_rs import Precursor, get_ms2_spectra, MS2Spectrum
10
+from rich.progress import track
11
12
from psm_utils import PSMList
13
@@ -208,7 +209,7 @@ def _add_precursor_values(
208
209
if spectrum_id_pattern is None:
210
spectrum_id_pattern = r"^(.*)$" # Match entire identifier if no pattern provided
211
- for run_name in set(psm_list["run"]):
212
+ for run_name in track(set(psm_list["run"])):
213
run_mask = psm_list["run"] == run_name
214
psm_list_run = psm_list[run_mask]
215
spectrum_file = infer_spectrum_path(spectrum_path, run_name)
0 commit comments