Skip to content

Commit

Permalink
fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
daichengxin committed Mar 2, 2024
1 parent 6d6626f commit a8576db
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion bin/mzml_statistics.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def parse_mzml(file_name: str, file_columns: list, id_only: bool = False):
info_list = [id_, MSLevel, None, None, None, None, rt, None, acquisition_datetime]

if id_only and MSLevel == 2:
psm_part_info.append([re.findall(r"scan=(\d+)", id_)[0], MSLevel, mz_array, intensity_array])
psm_part_info.append([re.findall(r"[scan|spectrum]=(\d+)", id_)[0], MSLevel, mz_array, intensity_array])
info.append(info_list)

if id_only and len(psm_part_info) > 0:
Expand Down
2 changes: 0 additions & 2 deletions modules/local/extract_psm/meta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ input:
- meta:
type: map
description: Groovy Map containing sample information


output:
- psm_info:
type: file
Expand Down

0 comments on commit a8576db

Please sign in to comment.