Skip to content

Commit

Permalink
add feature for thermo rawfile support
Browse files Browse the repository at this point in the history
Note that this feauture needs to be called thermorawfilereader. mzdata's
feature is called thermo, but the checks, including the one in the
`mz_read` macro tests for thermorawfilereader. The feature here needs to
match the one tested for in the macro, otherwise rawfiles are detected
as a file type, but the macro still wouldn't support it.
  • Loading branch information
paretje committed Aug 29, 2024
1 parent 475ec91 commit 1d17954
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ edition = "2021"
name = "ms2rescore_rs"
crate-type = ["cdylib"]

[features]
default = ["thermorawfilereader"]

thermorawfilereader = ["mzdata/thermo"]

[dependencies]
pyo3 = "0.20.0"
mzdata = "0.26.0"
Expand Down

0 comments on commit 1d17954

Please sign in to comment.