Skip to content

Commit

Permalink
docs(tuto): fix mztab example
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdoret committed Nov 29, 2024
1 parent f709a55 commit 7dcc30f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/tutorials/metabolomics_mztab.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ mz = MzTab('data/ex/metabo_ms1.mztab')
modo = MODO('s3://example/modo')
with open("local.mztab", "w") as mz_handle:
data = modo.storage.open("metabo_ms1.mztab").read()
mz.write(data)
for line in modo.storage.open("metabo_ms1.mztab"):
mz_handle.write(line)
mz = MzTab("local.mztab")
```

0 comments on commit 7dcc30f

Please sign in to comment.