netcreateorg / netcreate-itest

Developing the 2.0 version of NetCreate
https://github.com/netcreateorg/netcreate-2018
Other
0 stars 0 forks source link

Skip import of blank lines for nodes and edges #137

Closed benloh closed 7 months ago

benloh commented 7 months ago

Windows Excel seems to export an extra blank line when exporting to CSV. Mac Excel does not do this.

When importing a node or edge file with a blank line, the app will choke with a Node in row xxx does not have a valid id. Found 'NaN' error.

The simple fix is to ignore any blank lines. This will also help with inadvertent blank lines in the middle of the csv export.

Fixes #136.