marioangst / motifr

Motif analysis in multi-level networks
https://marioangst.github.io/motifr/
Other
13 stars 2 forks source link

Error in py_call_impl(callable, dots$args, dots$keywords) : KeyError: 0 #55

Open lix2k3 opened 3 years ago

lix2k3 commented 3 years ago

Hi, running the following results in error: Error in py_call_impl(callable, dots$args, dots$keywords) : KeyError: 0

motifr::count_motifs(multilvl_ex, lvl_attr = "lvl", motifs = list("1,2[I.C]", "1,2[II.C]", "2,1[I.C]", "2,1[II.C]"), directed = FALSE )

motif_summary(qgraph2, lvl_attr = "lvl")

Both function calls return the same error. reticulate is loaded, by the way.

tseppelt commented 3 years ago

Dear @lix2k3, I could not reproduce the situation that you described. Please provide some details: