Skip to content

Commit

Permalink
print msms dtypes for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
bkieft-usa committed Nov 7, 2024
1 parent cd431eb commit 90b0e43
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions metatlas/io/targeted_output.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,9 @@ def get_max_precursor_intensity(data, compound_idx):
for file_idx, sample in enumerate(data):
try:
msms = sample[compound_idx]["data"]["msms"]["data"]
logger.info("identification: %s"%sample[compound_idx]["identification"])
logger.info("msms: %s", msms)
logger.info("precursor_intensity dtype and value: %s ; %s"%(msms['precursor_intensity'].dtype,msms["precursor_intensity"]))
if len(msms["precursor_intensity"]) == 0:
continue
pre_intensity_idx = msms["precursor_intensity"].argmax()
Expand Down

0 comments on commit 90b0e43

Please sign in to comment.