Cytnx icon indicating copy to clipboard operation
Cytnx copied to clipboard

The Network save file still output ';' in TOUT

Open hunghaoti opened this issue 1 year ago • 1 comments

If I read the example.net and then save, the TOUT in the output file 'savefile.net' has a semicolon ';'

net = cytnx.Network("example.net")
net.Savefile("savefile")

example.net:

M1: i, j
M2: j, k
M3: k, l
TOUT: i, l
ORDER: ((M1,M2),M3)

savefile.net:

M1 : i,j
M2 : j,k
M3 : k,l
TOUT : i;l
ORDER : ((M1,M2),M3)

hunghaoti avatar Sep 19 '24 04:09 hunghaoti

I am not sure whether we need to fix it. If we also use ';' , we can remain the information about the rowrank.

hunghaoti avatar Sep 19 '24 05:09 hunghaoti