Skip to content

Commit

Permalink
Update if statement in write_msms_fragment_ions
Browse files Browse the repository at this point in the history
  • Loading branch information
bkieft-usa committed May 17, 2024
1 parent 17bc707 commit b05f69e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metatlas/io/targeted_output.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ def write_msms_fragment_ions(
out = []
for compound_idx, _ in enumerate(data[0]):
max_vars = get_max_precursor_intensity(data, compound_idx)
if max_vars.file_idx:
if max_vars.file_idx is not None:
out.append(
get_spectra_strings(
data,
Expand Down

0 comments on commit b05f69e

Please sign in to comment.