Skip to content

CreateVerifyIDIntensityContaminationMetricsFile should handle scientific notation #2001

Open
@kachulis

Description

@kachulis

sometimes, VerifyIDIntensity will output values in scientific notation, which breaks CreateVerifyIDIntensityContaminationMetricsFile.

I think it would be easy to fix this, this regex

final Pattern DATA_PATTERN = Pattern.compile("^(\\d+)\\s+([0-9]*\\.?[0-9]+)\\s+([-0-9]*\\.?[0-9]+)\\s+([-0-9]*\\.?[0-9]+)\\s*$");
just needs to be modified to match scientific notation as well

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions