Skip to content

Commit

Permalink
Update mzXMLMetadataCollector.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Quentin Ruin committed Dec 23, 2024
1 parent c5efed9 commit 69cb10a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/mzxmlmetadatacollector/mzXMLMetadataCollector.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,8 @@ def get_info(file, format1):
line = f.readline()
if ('defaultArrayLength=' in line):
nbpoints1 = nbpoints1 + int(line
.split('defaultArrayLength="')[1]
.split('"')[0])
.split('defaultArrayLength="')[1]
.split('"')[0])
f.close()
except Exception:
nbpoints1 = "Calculation failed"
Expand Down

0 comments on commit 69cb10a

Please sign in to comment.