Skip to content

PDIndexer is not working on computer with the decimal separator set as ',' instead of '.' #2

@loictoraille

Description

@loictoraille

Hello and thank you for this marvelous software.

We've encountered an issue when trying to use PDIndexer on computers with the windows decimal separator set as ',' instead of '.'
The data (in .xy form for example) is not opening at all in these cases.

We've tried editing the data by replacing the '.' in the xy file by ',' and in that case the data opens, but not correctly (plotted spectra have no real sense and do no look like the original data).

When we change the decimal separator in the windows settings, everything works correctly. However this solution does not work for shared computer where other users have set up software with their regular ',' decimal separator, and thus prevent us from changing it.

We've tried looking at your software code, and it looks like you tried to account for this issue, but it still does not work.
It seems like using 'CultureInfo.InvariantCulture' in the parse function may be a way to solve this issue.

If you have the time, could you look into this problem?

Thanks in advance,

Best regards,

Loïc Toraille

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