Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Floating point precision error upon opening CSV file #2700

Open
dyreportbug opened this issue Nov 23, 2022 · 0 comments
Open

Floating point precision error upon opening CSV file #2700

dyreportbug opened this issue Nov 23, 2022 · 0 comments

Comments

@dyreportbug
Copy link

Have encountered this issue which look like a floating point precision error, when opening a CSVfile as Matrix & UTF-8. Example below

Once I imported a CSV file and look into the Data Table -> Edge, on the upfront the weight will be shown as 0.02 (which is the original value from the CSV file), however once double click into the cell, the value will be shown 0.019999999552965164. This is an issue when trying to apply filter based on Edge Weight as it is based on the floating point figure instead of the original figure. For instance, applying edge weight of minimum 0.02 will actually filter out all the rows with figure of 0.02.

Untitled
Untitled2

However, upon exporting the edge table and open it, the figures shown are normal without above error. A possible workaround now is to export & reimport the edge table every single time which is rather annoying.

Using gephi version 0.9.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant