hgb-bin-proteomics / CandidateSearch

Proof-of-concept implementation of a search engine that uses sparse matrix multiplication to identify the best peptide candidates for a given mass spectrum.
https://hgb-bin-proteomics.github.io/CandidateSearch
MIT License
1 stars 1 forks source link

Parsing of double values depends on .NET culture -> unwanted behaviour #24

Closed michabirklbauer closed 9 months ago

michabirklbauer commented 11 months ago

https://github.com/hgb-bin-proteomics/CandidateSearch/blob/fffdfc76f38a5e31cbda4b71ee316a23601af2a3/util/Settings.cs#L330

Depending on .NET culture, "," or "." are used as decimal signs -> this should consistently just be "."! When parsing, probably state something like CultureInfo.InvariantCulture to ensure consistency