Support the "DL" file format of UCINET

Bug #344682 reported by Gábor Csárdi
2
Affects Status Importance Assigned to Milestone
igraph
Fix Released
Wishlist
Gábor Csárdi

Bug Description

Changed in igraph:
importance: Undecided → Wishlist
Revision history for this message
Gábor Csárdi (gabor.csardi) wrote :

The structure of the parser is ready, now I only need to fill it.

Changed in igraph:
assignee: nobody → gabor.csardi
status: New → In Progress
Revision history for this message
Gábor Csárdi (gabor.csardi) wrote :

Added in revision #1497 (0.6-main).

Changed in igraph:
status: In Progress → Fix Released
Revision history for this message
Tamás Nepusz (ntamas) wrote :

The parser is very sensitive to trailing newlines in the file; i.e., if there is at least one empty line at the end of the file, the parser fails. I don't know what the original specification says about trailing newlines, but maybe we should make the parser less stringent.

Revision history for this message
Gábor Csárdi (gabor.csardi) wrote :

All right, make it handle trailing newlines.

Changed in igraph:
status: Fix Released → In Progress
Revision history for this message
Gábor Csárdi (gabor.csardi) wrote :

Strange, I have added empty lines and/or empty lines with spaces to fullmatrix1.dl, edgelist4.dl and nodelist2.dl and the parser is happy with them.....

Revision history for this message
Gábor Csárdi (gabor.csardi) wrote :

Oh, sorry, my bad, I was running the wrong test case. :)

Revision history for this message
Gábor Csárdi (gabor.csardi) wrote :

Should be OK now.

Changed in igraph:
status: In Progress → Fix Released
Revision history for this message
Gábor Csárdi (gabor.csardi) wrote : Continue on github

The development of igraph has moved to github, so please do not comment on this bug here. You are of course welcome to comment on github, here:
https://github.com/igraph/igraph/issues/315

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.