Skip to content

Generated mzMLs contain value="nan" instead of value="NaN" #307

@Adafede

Description

@Adafede

Hi @sneumann,

I am using the mzR backend to export centroided spectra in mzML (see https://github.com/Adafede/CentroidR).
Actually, it seems that mzR exports value="nan" instead of value="NaN", which then leads to errors when reading the files in external tools.

I hacked a dirty fix to replace them manually (Adafede/CentroidR@eb9f6b3#diff-b4b5123cd43ca39308335e7138ce84d953d541808b220d786e239d4b18e9e349R156-R162) but this should be ideally fixed upstream?

Best,

Adriano

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions