Replies: 2 comments 6 replies
-
Hi Xixi, Thanks for investigating the errors! You are right about the typo, will be fixed on next release. To read cluster data for multilayer networks, Infomap expects the same format as the state level clu output for multilayer networks. If you run with Does that help? |
Beta Was this translation helpful? Give feedback.
-
Hi, Use If you need to know the state ids before creating the network, you can use the Regarding keeping nodes separate, does the feature discussed in #317 about freezing some nodes help? Weights can be added as a third column under |
Beta Was this translation helpful? Give feedback.
-
Hallo,
I think I found some issues with the handling of cluster data in Infomap constructor and run(). Long story short, I wanted to use
--assign-to-neighbouring-module
, so I tried to give a clu or tree file tocluster_data
, but it doesnt work in eitherInfomap()
orrun()
. The web server is fine with the file tho.with
run()
, there might be a typo. i setrun(cluster_data=my.clu, assign_to_neighbouring_module=True)
it saysmaybe it's caused by the typo
neightbour
in your source code? Anyway, I stopped trying with run() and played with Infomap() instead:I change the node key to integers:
added the flow value, nope:
change it to tree file:
All broke at the same line, line 3609. same
infomap.initial.clu
file works with the web server somehow. Any idea what went wrong? It also works fine if i avoid usingcluster_data
.Best
Xixi
Beta Was this translation helpful? Give feedback.
All reactions