How does Eirene deal with unconnected nodes when using the distance matrix input?

Hi,

I’m new to Julia, and I’m trying to use Eirene to perform persistent homology on a (not directed, not weighted) network, plot the persistence barcode and diagrams. I use the distance matrix from csv input option.

It seems to work great when the network is connected, all pairs of nodes have a defined distance and the entire matrix is populated.
When I tried to use a network that has some nodes that are not connected through any path, however, I got this error:

Error reading text file. Input files of this format must be either comma or space delimited.Error reading text file. Input files of this format must be either comma or space delimited.

I think this is because in the csv file there is nothing written for the cells where no path exists (ie “0,9,”).

What’s the right way to format this? An example matrix dataset for Eirene would be helpful, but I couldn’t find one online.

Thank you!

errata: ie “0, ,9,”